Skip to content

Commit 477a5a5

Browse files
committed
v1.0.0-beta.22
1 parent 2351dd7 commit 477a5a5

File tree

35 files changed

+332
-194
lines changed

35 files changed

+332
-194
lines changed

CHANGELOG.md

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,20 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
66
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
77

8-
## [Unreleased]
8+
## [v1.0.0-beta.22] - Apr 3, 2020
9+
10+
### Breaking Changes
11+
12+
- `calcite-date-picker` is now `calcite-date`
13+
- `calcite-date` no longer accepts start of week as a prop
914

1015
### Added
1116

1217
- new component `calcite-stepper`
18+
- new component `calcite-split-button`
19+
- improved focus styles across all components
1320
- a `max-items` attribute has been added to `calcite-dropdown` (#396)
1421

15-
### Breaking Changes
16-
17-
- `calcite-date-picker` is now `calcite-date`
18-
- `calcite-date` no longer accepts start of week as a prop
1922

2023
### Updated
2124

@@ -31,6 +34,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
3134
- `calcite-date` - fixed date entering via input (#307)
3235
- `calcite-date` - columns correct even when very narrow (#308)
3336
- `calcite-icon` - always render in target size to prevent shifting layout (#432)
37+
- `calcite-accordion` - fixed in ie11 (#366)
38+
- `calcite-dropdown` - fixed in ie11 (#369)
3439

3540
## [v1.0.0-beta.21] - Mar 31st 2020
3641

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@esri/calcite-components",
3-
"version": "1.0.0-beta.21",
3+
"version": "1.0.0-beta.22",
44
"description": "Web Components for Esri's Calcite Design System.",
55
"main": "dist/index.js",
66
"module": "dist/index.mjs",

readme.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ Calcite components can be loaded via two `<script>` tags in the head of your HTM
2121
```html
2222
<script
2323
type="module"
24-
src="https://unpkg.com/@esri/[email protected].21/dist/calcite/calcite.esm.js"
24+
src="https://unpkg.com/@esri/[email protected].22/dist/calcite/calcite.esm.js"
2525
></script>
2626
<script
2727
nomodule=""
28-
src="https://unpkg.com/@esri/[email protected].21/dist/calcite/calcite.js"
28+
src="https://unpkg.com/@esri/[email protected].22/dist/calcite/calcite.js"
2929
></script>
3030
```
3131

@@ -41,7 +41,7 @@ You will also need to explicitly load the `calcite.css` file:
4141
<link
4242
rel="stylesheet"
4343
type="text/css"
44-
href="https://unpkg.com/@esri/[email protected].21/dist/calcite/calcite.css"
44+
href="https://unpkg.com/@esri/[email protected].22/dist/calcite/calcite.css"
4545
/>
4646
```
4747

src/components/calcite-accordion/readme.md

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,23 +20,26 @@ A basic implementation looks like this:
2020

2121
<!-- Auto Generated Below -->
2222

23+
2324
## Properties
2425

2526
| Property | Attribute | Description | Type | Default |
2627
| --------------- | ---------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------- | ----------- |
27-
| `appearance` | `appearance` | specify the appearance - default (containing border), or minimal (no containing border), defaults to default | `"default" or "minimal" or "transparent"` | `"default"` |
28-
| `iconPosition` | `icon-position` | specify the placement of the icon in the header, defaults to end | `"end" or "start"` | `"end"` |
29-
| `iconType` | `icon-type` | specify the placement of the icon in the header, defaults to end | `"caret" or "chevron" or "plus-minus"` | `"chevron"` |
30-
| `scale` | `scale` | specify the scale of accordion, defaults to m | `"l" or "m" or "s"` | `"m"` |
31-
| `selectionMode` | `selection-mode` | specify the selection mode - multi (allow any number of open items), single (allow one open item), or single-persist (allow and require one open item), defaults to multi | `"multi" or "single" or "single-persist"` | `"multi"` |
32-
| `theme` | `theme` | specify the theme of accordion, defaults to light | `"dark" or "light"` | `undefined` |
28+
| `appearance` | `appearance` | specify the appearance - default (containing border), or minimal (no containing border), defaults to default | `"default" \| "minimal" \| "transparent"` | `"default"` |
29+
| `iconPosition` | `icon-position` | specify the placement of the icon in the header, defaults to end | `"end" \| "start"` | `"end"` |
30+
| `iconType` | `icon-type` | specify the placement of the icon in the header, defaults to end | `"caret" \| "chevron" \| "plus-minus"` | `"chevron"` |
31+
| `scale` | `scale` | specify the scale of accordion, defaults to m | `"l" \| "m" \| "s"` | `"m"` |
32+
| `selectionMode` | `selection-mode` | specify the selection mode - multi (allow any number of open items), single (allow one open item), or single-persist (allow and require one open item), defaults to multi | `"multi" \| "single" \| "single-persist"` | `"multi"` |
33+
| `theme` | `theme` | specify the theme of accordion, defaults to light | `"dark" \| "light"` | `undefined` |
34+
3335

3436
## Events
3537

3638
| Event | Description | Type |
3739
| -------------------------------- | ----------- | ------------------ |
3840
| `calciteAccordionItemHasChanged` | | `CustomEvent<any>` |
3941

40-
---
4142

42-
_Built with [StencilJS](https://stenciljs.com/)_
43+
----------------------------------------------
44+
45+
*Built with [StencilJS](https://stenciljs.com/)*

src/components/calcite-alert/readme.md

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ A single instance of an alert. Multiple alerts will aggregate in a queue.
2121

2222
<!-- Auto Generated Below -->
2323

24+
2425
## Properties
2526

2627
| Property | Attribute | Description | Type | Default |
@@ -29,12 +30,13 @@ A single instance of an alert. Multiple alerts will aggregate in a queue.
2930
| `alertQueue` | -- | a managed list of alerts | `string[]` | `[]` |
3031
| `alertQueueLength` | `alert-queue-length` | a managed list of alerts | `number` | `undefined` |
3132
| `autoDismiss` | `auto-dismiss` | Close the alert automatically (recommended for passive, non-blocking alerts) | `boolean` | `false` |
32-
| `autoDismissDuration` | `auto-dismiss-duration` | Duration of autoDismiss (only used with `autoDismiss`) | `"fast" or "medium" or "slow"` | `this.autoDismiss ? "medium" : null` |
33-
| `color` | `color` | Color for the alert (will apply to top border and icon) | `"blue" or "green" or "red" or "yellow"` | `"blue"` |
33+
| `autoDismissDuration` | `auto-dismiss-duration` | Duration of autoDismiss (only used with `autoDismiss`) | `"fast" \| "medium" \| "slow"` | `this.autoDismiss ? "medium" : null` |
34+
| `color` | `color` | Color for the alert (will apply to top border and icon) | `"blue" \| "green" \| "red" \| "yellow"` | `"blue"` |
3435
| `currentAlert` | `current-alert` | the determined current alert | `string` | `undefined` |
3536
| `icon` | `icon` | specify if the alert should display an icon | `boolean` | `false` |
36-
| `scale` | `scale` | specify the scale of the button, defaults to m | `"l" or "m" or "s"` | `"m"` |
37-
| `theme` | `theme` | Select theme (light or dark) | `"dark" or "light"` | `undefined` |
37+
| `scale` | `scale` | specify the scale of the button, defaults to m | `"l" \| "m" \| "s"` | `"m"` |
38+
| `theme` | `theme` | Select theme (light or dark) | `"dark" \| "light"` | `undefined` |
39+
3840

3941
## Events
4042

@@ -44,6 +46,7 @@ A single instance of an alert. Multiple alerts will aggregate in a queue.
4446
| `calciteAlertOpen` | Fired when an alert is opened | `CustomEvent<any>` |
4547
| `calciteAlertSync` | Fired when an alert is opened | `CustomEvent<any>` |
4648

49+
4750
## Methods
4851

4952
### `close() => Promise<void>`
@@ -54,6 +57,8 @@ close alert and emit the closed alert
5457

5558
Type: `Promise<void>`
5659

60+
61+
5762
### `open() => Promise<void>`
5863

5964
open alert and emit the opened alert
@@ -62,6 +67,8 @@ open alert and emit the opened alert
6267

6368
Type: `Promise<void>`
6469

70+
71+
6572
### `setFocus() => Promise<void>`
6673

6774
focus the close button, if present and requested
@@ -70,6 +77,9 @@ focus the close button, if present and requested
7077

7178
Type: `Promise<void>`
7279

80+
81+
82+
7383
## Slots
7484

7585
| Slot | Description |
@@ -78,20 +88,20 @@ Type: `Promise<void>`
7888
| `"alert-message"` | Main text of the alert |
7989
| `"alert-title"` | Title of the alert (optional) |
8090

91+
8192
## Dependencies
8293

8394
### Depends on
8495

8596
- [calcite-icon](../calcite-icon)
8697

8798
### Graph
88-
8999
```mermaid
90100
graph TD;
91101
calcite-alert --> calcite-icon
92102
style calcite-alert fill:#f9f,stroke:#333,stroke-width:4px
93103
```
94104

95-
---
105+
----------------------------------------------
96106

97-
_Built with [StencilJS](https://stenciljs.com/)_
107+
*Built with [StencilJS](https://stenciljs.com/)*

src/components/calcite-button/readme.md

Lines changed: 24 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -6,44 +6,50 @@ You can programmatically focus a `calcite-button` with the `setFocus()` method:
66

77
<!-- Auto Generated Below -->
88

9+
910
## Properties
1011

11-
| Property | Attribute | Description | Type | Default |
12-
| -------------- | --------------- | ------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------- | ----------- |
13-
| `appearance` | `appearance` | specify the appearance style of the button, defaults to solid. Specifying "inline" will render the component as an anchor | `"clear" or "inline" or "outline" or "solid"` | `"solid"` |
14-
| `color` | `color` | specify the color of the button, defaults to blue | `"blue" or "dark" or "light" or "red"` | `"blue"` |
15-
| `disabled` | `disabled` | is the button disabled | `boolean` | `undefined` |
16-
| `floating` | `floating` | optionally add a floating style to the button - this should be positioned fixed or sticky | `boolean` | `false` |
17-
| `href` | `href` | optionally pass a href - used to determine if the component should render as a button or an anchor | `string` | `undefined` |
18-
| `icon` | `icon` | optionally pass an icon to display - accepts Calcite UI icon names | `string` | `undefined` |
19-
| `iconPosition` | `icon-position` | optionally used with icon, select where to position the icon | `"end" or "start"` | `"start"` |
20-
| `loading` | `loading` | optionally add a calcite-loader component to the button, disabling interaction. | `boolean` | `false` |
21-
| `round` | `round` | optionally add a round style to the button | `boolean` | `false` |
22-
| `scale` | `scale` | specify the scale of the button, defaults to m | `"l" or "m" or "s" or "xl" or "xs"` | `"m"` |
23-
| `theme` | `theme` | Select theme (light or dark) | `"dark" or "light"` | `undefined` |
24-
| `width` | `width` | specify the width of the button, defaults to auto | `"auto" or "full" or "half"` | `"auto"` |
12+
| Property | Attribute | Description | Type | Default |
13+
| -------------- | --------------- | ------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------- | ----------- |
14+
| `appearance` | `appearance` | specify the appearance style of the button, defaults to solid. Specifying "inline" will render the component as an anchor | `"clear" \| "inline" \| "outline" \| "solid" \| "transparent"` | `"solid"` |
15+
| `color` | `color` | specify the color of the button, defaults to blue | `"blue" \| "dark" \| "light" \| "red"` | `"blue"` |
16+
| `disabled` | `disabled` | is the button disabled | `boolean` | `undefined` |
17+
| `floating` | `floating` | optionally add a floating style to the button - this should be positioned fixed or sticky | `boolean` | `false` |
18+
| `href` | `href` | optionally pass a href - used to determine if the component should render as a button or an anchor | `string` | `undefined` |
19+
| `icon` | `icon` | optionally pass an icon to display - accepts Calcite UI icon names | `string` | `undefined` |
20+
| `iconPosition` | `icon-position` | optionally used with icon, select where to position the icon | `"end" \| "start"` | `"start"` |
21+
| `loading` | `loading` | optionally add a calcite-loader component to the button, disabling interaction. | `boolean` | `false` |
22+
| `round` | `round` | optionally add a round style to the button | `boolean` | `false` |
23+
| `scale` | `scale` | specify the scale of the button, defaults to m | `"l" \| "m" \| "s" \| "xl" \| "xs"` | `"m"` |
24+
| `theme` | `theme` | Select theme (light or dark) | `"dark" \| "light"` | `undefined` |
25+
| `width` | `width` | specify the width of the button, defaults to auto | `"auto" \| "full" \| "half"` | `"auto"` |
26+
2527

2628
## Methods
2729

2830
### `setFocus() => Promise<void>`
2931

32+
33+
3034
#### Returns
3135

3236
Type: `Promise<void>`
3337

38+
39+
40+
3441
## Dependencies
3542

3643
### Used by
3744

38-
- [calcite-split-button](../calcite-split-button)
45+
- [calcite-split-button](../calcite-split-button)
3946

4047
### Depends on
4148

4249
- [calcite-loader](../calcite-loader)
4350
- [calcite-icon](../calcite-icon)
4451

4552
### Graph
46-
4753
```mermaid
4854
graph TD;
4955
calcite-button --> calcite-loader
@@ -52,6 +58,6 @@ graph TD;
5258
style calcite-button fill:#f9f,stroke:#333,stroke-width:4px
5359
```
5460

55-
---
61+
----------------------------------------------
5662

57-
_Built with [StencilJS](https://stenciljs.com/)_
63+
*Built with [StencilJS](https://stenciljs.com/)*

0 commit comments

Comments
 (0)