@ds-autonomie/web-components 1.1.0 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +25 -0
- package/dist/chunks/chunk.2WSMYCPC.js +24 -0
- package/dist/chunks/{chunk.7EWUWW3E.js → chunk.3Y4CKW7H.js} +1 -1
- package/dist/chunks/{chunk.V6V7AGDB.js → chunk.4XH7INOL.js} +1 -1
- package/dist/chunks/{chunk.DFTZEFHF.js → chunk.5DKPV25M.js} +1 -1
- package/dist/chunks/{chunk.3BL7JA77.js → chunk.5KOTVDN5.js} +2 -7
- package/dist/chunks/chunk.5NO4YOTV.js +126 -0
- package/dist/chunks/{chunk.GJCVGGCP.js → chunk.76JEX27F.js} +1 -1
- package/dist/chunks/{chunk.IQ7SDYSC.js → chunk.7BYKP4SA.js} +14 -0
- package/dist/chunks/{chunk.LSKBY2HF.js → chunk.BGNHUCCD.js} +1 -1
- package/dist/chunks/{chunk.HEOTAAPU.js → chunk.BHLKMLHB.js} +1 -1
- package/dist/chunks/{chunk.NOEQVLAW.js → chunk.BNJQHJKO.js} +1 -1
- package/dist/chunks/chunk.CCTWXABH.js +13 -0
- package/dist/chunks/{chunk.6BJBVSW4.js → chunk.E7NM6WTF.js} +1 -1
- package/dist/chunks/{chunk.DC6CT5PU.js → chunk.EM4JONLW.js} +0 -7
- package/dist/chunks/{chunk.W74UQSZJ.js → chunk.FN42VBEO.js} +1 -1
- package/dist/chunks/{chunk.VIULAG23.js → chunk.FSXPFNBX.js} +1 -1
- package/dist/chunks/{chunk.T7JSALXE.js → chunk.HCQNPYQZ.js} +1 -1
- package/dist/chunks/chunk.HRBNFVC5.js +16 -0
- package/dist/chunks/{chunk.ZVGZDTBF.js → chunk.IFXLU6P3.js} +8 -16
- package/dist/chunks/{chunk.AYXPVAYS.js → chunk.IH3JU5S6.js} +1 -1
- package/dist/chunks/{chunk.R37CT3PN.js → chunk.JJLAOWR2.js} +88 -13
- package/dist/chunks/{chunk.U5KRBVRP.js → chunk.JKHFW3KV.js} +2 -2
- package/dist/chunks/{chunk.DZWH4V6H.js → chunk.KAQ2HMPU.js} +1 -1
- package/dist/chunks/{chunk.2CCKS3CP.js → chunk.N5ZXUW7H.js} +1 -1
- package/dist/chunks/{chunk.CBMFAOZI.js → chunk.P7QMP76I.js} +4 -3
- package/dist/chunks/{chunk.VM355VAS.js → chunk.QDZXNGR6.js} +1 -5
- package/dist/chunks/chunk.QSNJ4FV6.js +54 -0
- package/dist/chunks/{chunk.L6LQN6AI.js → chunk.RVUFDCSS.js} +1 -1
- package/dist/chunks/{chunk.QSPKKO3T.js → chunk.SCNCYZ35.js} +3 -3
- package/dist/chunks/{chunk.NKPNQBLW.js → chunk.T4H7RAXS.js} +4 -4
- package/dist/chunks/{chunk.ST2QYN4S.js → chunk.WC7TOR3H.js} +1 -1
- package/dist/chunks/{chunk.7HGZSZJK.js → chunk.WFJLQFI3.js} +18 -0
- package/dist/chunks/{chunk.NBQ3AEK6.js → chunk.XV2S7PIY.js} +1 -1
- package/dist/chunks/{chunk.ILUHEJYG.js → chunk.XYHFMIYJ.js} +1 -1
- package/dist/chunks/{chunk.RSJYKNXT.js → chunk.Y3VP37FX.js} +1 -1
- package/dist/chunks/{chunk.4MC32HP7.js → chunk.YEVEBKAC.js} +1 -1
- package/dist/chunks/{chunk.F4XMSVNF.js → chunk.YHOA7MQN.js} +1 -1
- package/dist/chunks/chunk.YRBTSDUN.js +134 -0
- package/dist/components/accordion/accordion.js +2 -2
- package/dist/components/alert/alert.js +2 -2
- package/dist/components/badge/badge.d.ts +0 -2
- package/dist/components/badge/badge.js +2 -2
- package/dist/components/badge/badge.styles.js +1 -1
- package/dist/components/breadcrumb/breadcrumb.js +2 -2
- package/dist/components/breadcrumb-item/breadcrumb-item.js +2 -2
- package/dist/components/button/button.js +3 -3
- package/dist/components/combobox/combobox.d.ts +22 -1
- package/dist/components/combobox/combobox.js +7 -4
- package/dist/components/combobox/combobox.styles.js +1 -1
- package/dist/components/dialog/dialog.js +2 -2
- package/dist/components/drawer/drawer.js +2 -2
- package/dist/components/dropdown/dropdown.js +2 -2
- package/dist/components/format-bytes/format-bytes.js +2 -2
- package/dist/components/format-date/format-date.js +2 -2
- package/dist/components/format-number/format-number.js +2 -2
- package/dist/components/input/input.js +2 -2
- package/dist/components/input-mask/input-mask.js +2 -2
- package/dist/components/input-phone/input-phone.js +7 -7
- package/dist/components/option/option.js +2 -2
- package/dist/components/progress-bar/progress-bar.js +2 -2
- package/dist/components/radio-button/radio-button.js +2 -2
- package/dist/components/radio-button/radio-button.styles.js +1 -1
- package/dist/components/relative-time/relative-time.js +2 -2
- package/dist/components/select/select.js +3 -3
- package/dist/components/spinner/spinner.js +2 -2
- package/dist/components/step/step.d.ts +39 -0
- package/dist/components/step/step.js +24 -0
- package/dist/components/step/step.styles.d.ts +2 -0
- package/dist/components/step/step.styles.js +8 -0
- package/dist/components/step/step.utils.d.ts +3 -0
- package/dist/components/step/step.utils.js +7 -0
- package/dist/components/stepper/stepper.d.ts +23 -0
- package/dist/components/stepper/stepper.js +10 -0
- package/dist/components/stepper/stepper.styles.d.ts +2 -0
- package/dist/components/stepper/stepper.styles.js +8 -0
- package/dist/components/tab/tab.js +2 -2
- package/dist/components/tab-group/tab-group.js +2 -2
- package/dist/components/tag/tag.js +2 -2
- package/dist/components/tooltip/tooltip.js +2 -2
- package/dist/components/tree/tree.js +4 -4
- package/dist/components/tree-item/tree-item.js +3 -3
- package/dist/custom-elements.json +342 -24
- package/dist/design-system.d.ts +2 -0
- package/dist/design-system.js +56 -44
- package/dist/themes/dsa-wc-theme.css +43 -0
- package/dist/themes/dsa-wc-theme.min.css +1 -1
- package/dist/themes/dsa-wc-theme.styles.js +43 -0
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/utilities/debounce.d.ts +1 -0
- package/dist/utilities/debounce.js +7 -0
- package/dist/utilities/localize.d.ts +7 -0
- package/dist/utilities/localize.js +1 -1
- package/dist/vscode.html-custom-data.json +45 -6
- package/dist/web-types.json +167 -15
- package/package.json +5 -6
|
@@ -178,11 +178,6 @@
|
|
|
178
178
|
{ "name": "danger" }
|
|
179
179
|
]
|
|
180
180
|
},
|
|
181
|
-
{
|
|
182
|
-
"name": "dot",
|
|
183
|
-
"description": "Draws a dot-style badge with centered text. Useful for displaying notifications.",
|
|
184
|
-
"values": []
|
|
185
|
-
},
|
|
186
181
|
{
|
|
187
182
|
"name": "pulse",
|
|
188
183
|
"description": "Makes the badge pulsate to draw attention.",
|
|
@@ -512,7 +507,7 @@
|
|
|
512
507
|
},
|
|
513
508
|
{
|
|
514
509
|
"name": "dsa-combobox",
|
|
515
|
-
"description": "Comboboxes allow you to type a value directly or select a value from a menu of predefined options. Values are filtered by checking the presence of the search term.\n\n\n---\n\n\n\n\n### **Events:**\n - **dsa-change** - Emitted when the control's value changes.\n- **dsa-input** - Emitted when the control receives input.\n- **dsa-focus** - Emitted when the control gains focus.\n- **dsa-blur** - Emitted when the control loses focus.\n- **dsa-show** - Emitted when the combobox's menu opens.\n- **dsa-after-show** - Emitted after the combobox's menu opens and all animations are complete.\n- **dsa-hide** - Emitted when the combobox's menu closes.\n- **dsa-after-hide** - Emitted after the combobox's menu closes and all animations are complete.\n- **dsa-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Methods:**\n - **show()** - Shows the listbox.\n- **hide()** - Hides the listbox.\n- **checkValidity()** - Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.\n- **focus(options: _FocusOptions_)** - Sets focus on the control.\n- **blur()** - Removes focus from the control.\n\n### **Slots:**\n - _default_ - The listbox options. Must be `<dsa-option>` elements. Alternatively, you can use the `items` property.\n- **label** - The input's label. Alternatively, you can use the `label` attribute.\n- **prefix** - Used to prepend a presentational icon or similar element to the combobox.\n- **help-text** - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.\n- **tooltip** - The tooltip slot allows additional information to be passed along the label",
|
|
510
|
+
"description": "Comboboxes allow you to type a value directly or select a value from a menu of predefined options. Values are filtered by checking the presence of the search term.\n\n\n---\n\n\n\n\n### **Events:**\n - **dsa-change** - Emitted when the control's value changes.\n- **dsa-input** - Emitted when the control receives input.\n- **dsa-focus** - Emitted when the control gains focus.\n- **dsa-blur** - Emitted when the control loses focus.\n- **dsa-show** - Emitted when the combobox's menu opens.\n- **dsa-after-show** - Emitted after the combobox's menu opens and all animations are complete.\n- **dsa-hide** - Emitted when the combobox's menu closes.\n- **dsa-after-hide** - Emitted after the combobox's menu closes and all animations are complete.\n- **dsa-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n- **dsa-load** - Emitted when the remote options have loaded.\n- **dsa-error** - Emitted when the remote options fail to load due to an error.\n\n### **Methods:**\n - **show()** - Shows the listbox.\n- **hide()** - Hides the listbox.\n- **checkValidity()** - Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.\n- **focus(options: _FocusOptions_)** - Sets focus on the control.\n- **blur()** - Removes focus from the control.\n\n### **Slots:**\n - _default_ - The listbox options. Must be `<dsa-option>` elements. Alternatively, you can use the `items` property.\n- **label** - The input's label. Alternatively, you can use the `label` attribute.\n- **prefix** - Used to prepend a presentational icon or similar element to the combobox.\n- **help-text** - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.\n- **tooltip** - The tooltip slot allows additional information to be passed along the label",
|
|
516
511
|
"attributes": [
|
|
517
512
|
{
|
|
518
513
|
"name": "name",
|
|
@@ -625,6 +620,11 @@
|
|
|
625
620
|
"name": "max-options-visible",
|
|
626
621
|
"description": "The maximum number of selected options to show when `multiple` is true. After the maximum, \"+n\" will be shown to\nindicate the number of additional items that are selected. Set to 0 to remove the limit.",
|
|
627
622
|
"values": []
|
|
623
|
+
},
|
|
624
|
+
{
|
|
625
|
+
"name": "debounce-timeout",
|
|
626
|
+
"description": "Delay between when a user types into an input. It is only used when `onSearch` attribute is defined.",
|
|
627
|
+
"values": []
|
|
628
628
|
}
|
|
629
629
|
],
|
|
630
630
|
"references": []
|
|
@@ -2118,6 +2118,45 @@
|
|
|
2118
2118
|
],
|
|
2119
2119
|
"references": []
|
|
2120
2120
|
},
|
|
2121
|
+
{
|
|
2122
|
+
"name": "dsa-step",
|
|
2123
|
+
"description": "Step defines an element within a stepper.\n\n\n---\n\n\n\n\n### **Slots:**\n - **title** - The step's title. Alternatively, you can use the `title` attribute.\n- **tooltip** - The tooltip slot allows additional information to be passed along the title.\n- **content** - The step's content. Alternatively, you can use the `content` attribute.",
|
|
2124
|
+
"attributes": [
|
|
2125
|
+
{
|
|
2126
|
+
"name": "status",
|
|
2127
|
+
"description": "The step's status. There can only be one active step's state inside a stepper.\nThe `active` status defines the current step as the only active step on the page. It usually has related content on the page like a form.",
|
|
2128
|
+
"values": [{ "name": "DSAStepStatus" }]
|
|
2129
|
+
},
|
|
2130
|
+
{
|
|
2131
|
+
"name": "title",
|
|
2132
|
+
"description": "The step's title. If you need to display HTML, use the `title` slot instead.",
|
|
2133
|
+
"values": []
|
|
2134
|
+
},
|
|
2135
|
+
{
|
|
2136
|
+
"name": "content",
|
|
2137
|
+
"description": "The step's content. If you need to display HTML, use the `content` slot instead.",
|
|
2138
|
+
"values": []
|
|
2139
|
+
},
|
|
2140
|
+
{
|
|
2141
|
+
"name": "index",
|
|
2142
|
+
"description": "Sets the step's index",
|
|
2143
|
+
"values": []
|
|
2144
|
+
}
|
|
2145
|
+
],
|
|
2146
|
+
"references": []
|
|
2147
|
+
},
|
|
2148
|
+
{
|
|
2149
|
+
"name": "dsa-stepper",
|
|
2150
|
+
"description": "Stepper convey progress through numbered steps. It provides a wizard-like workflow.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - The step options. Must be `<dsa-step>` elements.",
|
|
2151
|
+
"attributes": [
|
|
2152
|
+
{
|
|
2153
|
+
"name": "hideLabel",
|
|
2154
|
+
"description": "When set to true, it hides all steps's label.",
|
|
2155
|
+
"values": [{ "name": "false" }]
|
|
2156
|
+
}
|
|
2157
|
+
],
|
|
2158
|
+
"references": []
|
|
2159
|
+
},
|
|
2121
2160
|
{
|
|
2122
2161
|
"name": "dsa-tab",
|
|
2123
2162
|
"description": "Tabs are used inside [tab groups](/components/tab-group) to represent and activate [tab panels](/components/tab-panel).\n\n\n---\n\n\n\n\n### **Events:**\n - **dsa-close** - Emitted when the tab is closable and the close button is activated.\n\n### **Methods:**\n - **focus(options: _FocusOptions_)** - Sets focus to the tab.\n- **blur()** - Removes focus from the tab.\n\n### **Slots:**\n - _default_ - The tab's label.",
|
package/dist/web-types.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json.schemastore.org/web-types",
|
|
3
3
|
"name": "@ds-autonomie/web-components",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.3.0",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"framework-config": {
|
|
7
7
|
"enable-when": {
|
|
@@ -643,13 +643,6 @@
|
|
|
643
643
|
"type": "| 'primary'\n | 'success'\n | 'neutral'\n | 'warning'\n | 'danger'"
|
|
644
644
|
}
|
|
645
645
|
},
|
|
646
|
-
{
|
|
647
|
-
"name": "dot",
|
|
648
|
-
"description": "Draws a dot-style badge with centered text. Useful for displaying notifications.",
|
|
649
|
-
"value": {
|
|
650
|
-
"type": "boolean"
|
|
651
|
-
}
|
|
652
|
-
},
|
|
653
646
|
{
|
|
654
647
|
"name": "pulse",
|
|
655
648
|
"description": "Makes the badge pulsate to draw attention.",
|
|
@@ -668,13 +661,6 @@
|
|
|
668
661
|
"type": "| 'primary'\n | 'success'\n | 'neutral'\n | 'warning'\n | 'danger'"
|
|
669
662
|
}
|
|
670
663
|
},
|
|
671
|
-
{
|
|
672
|
-
"name": "dot",
|
|
673
|
-
"description": "Draws a dot-style badge with centered text. Useful for displaying notifications.",
|
|
674
|
-
"value": {
|
|
675
|
-
"type": "boolean"
|
|
676
|
-
}
|
|
677
|
-
},
|
|
678
664
|
{
|
|
679
665
|
"name": "pulse",
|
|
680
666
|
"description": "Makes the badge pulsate to draw attention.",
|
|
@@ -1917,6 +1903,12 @@
|
|
|
1917
1903
|
"type": "boolean"
|
|
1918
1904
|
}
|
|
1919
1905
|
},
|
|
1906
|
+
{
|
|
1907
|
+
"name": "fetchingState",
|
|
1908
|
+
"value": {
|
|
1909
|
+
"type": "'loading' | 'error' | 'success'"
|
|
1910
|
+
}
|
|
1911
|
+
},
|
|
1920
1912
|
{
|
|
1921
1913
|
"name": "displayLabel",
|
|
1922
1914
|
"value": {
|
|
@@ -2100,6 +2092,20 @@
|
|
|
2100
2092
|
"type": "number"
|
|
2101
2093
|
}
|
|
2102
2094
|
},
|
|
2095
|
+
{
|
|
2096
|
+
"name": "onSearch",
|
|
2097
|
+
"description": "This function searches for a list of remote options based on the inputed text.",
|
|
2098
|
+
"value": {
|
|
2099
|
+
"type": "| ((\n value: string,\n selectedOptions: string[]\n ) => DSAOption[] | Promise<DSAOption[]>)\n | undefined"
|
|
2100
|
+
}
|
|
2101
|
+
},
|
|
2102
|
+
{
|
|
2103
|
+
"name": "debounceTimeout",
|
|
2104
|
+
"description": "Delay between when a user types into an input. It is only used when `onSearch` attribute is defined.",
|
|
2105
|
+
"value": {
|
|
2106
|
+
"type": "number"
|
|
2107
|
+
}
|
|
2108
|
+
},
|
|
2103
2109
|
{
|
|
2104
2110
|
"name": "validity",
|
|
2105
2111
|
"description": "Gets the validity state object",
|
|
@@ -2135,6 +2141,14 @@
|
|
|
2135
2141
|
"name": "handleInput",
|
|
2136
2142
|
"value": {}
|
|
2137
2143
|
},
|
|
2144
|
+
{
|
|
2145
|
+
"name": "filterRemoteOptions",
|
|
2146
|
+
"value": {}
|
|
2147
|
+
},
|
|
2148
|
+
{
|
|
2149
|
+
"name": "asyncFetchOptions",
|
|
2150
|
+
"value": {}
|
|
2151
|
+
},
|
|
2138
2152
|
{
|
|
2139
2153
|
"name": "handleClearClick",
|
|
2140
2154
|
"value": {}
|
|
@@ -2163,6 +2177,10 @@
|
|
|
2163
2177
|
"name": "getAllOptions",
|
|
2164
2178
|
"value": {}
|
|
2165
2179
|
},
|
|
2180
|
+
{
|
|
2181
|
+
"name": "getRemoteOptions",
|
|
2182
|
+
"value": {}
|
|
2183
|
+
},
|
|
2166
2184
|
{
|
|
2167
2185
|
"name": "clearSelectedOptions",
|
|
2168
2186
|
"value": {}
|
|
@@ -2317,6 +2335,14 @@
|
|
|
2317
2335
|
{
|
|
2318
2336
|
"name": "dsa-invalid",
|
|
2319
2337
|
"description": "Emitted when the form control has been checked for validity and its constraints aren't satisfied."
|
|
2338
|
+
},
|
|
2339
|
+
{
|
|
2340
|
+
"name": "dsa-load",
|
|
2341
|
+
"description": "Emitted when the remote options have loaded."
|
|
2342
|
+
},
|
|
2343
|
+
{
|
|
2344
|
+
"name": "dsa-error",
|
|
2345
|
+
"description": "Emitted when the remote options fail to load due to an error."
|
|
2320
2346
|
}
|
|
2321
2347
|
]
|
|
2322
2348
|
},
|
|
@@ -2460,6 +2486,13 @@
|
|
|
2460
2486
|
"value": {
|
|
2461
2487
|
"type": "number"
|
|
2462
2488
|
}
|
|
2489
|
+
},
|
|
2490
|
+
{
|
|
2491
|
+
"name": "debounce-timeout",
|
|
2492
|
+
"description": "Delay between when a user types into an input. It is only used when `onSearch` attribute is defined.",
|
|
2493
|
+
"value": {
|
|
2494
|
+
"type": "number"
|
|
2495
|
+
}
|
|
2463
2496
|
}
|
|
2464
2497
|
]
|
|
2465
2498
|
},
|
|
@@ -7812,6 +7845,125 @@
|
|
|
7812
7845
|
}
|
|
7813
7846
|
]
|
|
7814
7847
|
},
|
|
7848
|
+
{
|
|
7849
|
+
"name": "dsa-step",
|
|
7850
|
+
"description": "",
|
|
7851
|
+
"js": {
|
|
7852
|
+
"properties": [
|
|
7853
|
+
{
|
|
7854
|
+
"name": "hasSlotController",
|
|
7855
|
+
"value": {}
|
|
7856
|
+
},
|
|
7857
|
+
{
|
|
7858
|
+
"name": "localize",
|
|
7859
|
+
"value": {}
|
|
7860
|
+
},
|
|
7861
|
+
{
|
|
7862
|
+
"name": "status",
|
|
7863
|
+
"description": "The step's status. There can only be one active step's state inside a stepper.\nThe `active` status defines the current step as the only active step on the page. It usually has related content on the page like a form.",
|
|
7864
|
+
"value": {
|
|
7865
|
+
"type": "DSAStepStatus"
|
|
7866
|
+
}
|
|
7867
|
+
},
|
|
7868
|
+
{
|
|
7869
|
+
"name": "title",
|
|
7870
|
+
"description": "The step's title. If you need to display HTML, use the `title` slot instead.",
|
|
7871
|
+
"value": {
|
|
7872
|
+
"type": "string"
|
|
7873
|
+
}
|
|
7874
|
+
},
|
|
7875
|
+
{
|
|
7876
|
+
"name": "content",
|
|
7877
|
+
"description": "The step's content. If you need to display HTML, use the `content` slot instead.",
|
|
7878
|
+
"value": {
|
|
7879
|
+
"type": "string"
|
|
7880
|
+
}
|
|
7881
|
+
},
|
|
7882
|
+
{
|
|
7883
|
+
"name": "index",
|
|
7884
|
+
"description": "Sets the step's index",
|
|
7885
|
+
"value": {
|
|
7886
|
+
"type": "number"
|
|
7887
|
+
}
|
|
7888
|
+
},
|
|
7889
|
+
{
|
|
7890
|
+
"name": "getStepLabel",
|
|
7891
|
+
"value": {}
|
|
7892
|
+
}
|
|
7893
|
+
],
|
|
7894
|
+
"events": []
|
|
7895
|
+
},
|
|
7896
|
+
"attributes": [
|
|
7897
|
+
{
|
|
7898
|
+
"name": "status",
|
|
7899
|
+
"description": "The step's status. There can only be one active step's state inside a stepper.\nThe `active` status defines the current step as the only active step on the page. It usually has related content on the page like a form.",
|
|
7900
|
+
"value": {
|
|
7901
|
+
"type": "DSAStepStatus"
|
|
7902
|
+
}
|
|
7903
|
+
},
|
|
7904
|
+
{
|
|
7905
|
+
"name": "title",
|
|
7906
|
+
"description": "The step's title. If you need to display HTML, use the `title` slot instead.",
|
|
7907
|
+
"value": {
|
|
7908
|
+
"type": "string"
|
|
7909
|
+
}
|
|
7910
|
+
},
|
|
7911
|
+
{
|
|
7912
|
+
"name": "content",
|
|
7913
|
+
"description": "The step's content. If you need to display HTML, use the `content` slot instead.",
|
|
7914
|
+
"value": {
|
|
7915
|
+
"type": "string"
|
|
7916
|
+
}
|
|
7917
|
+
},
|
|
7918
|
+
{
|
|
7919
|
+
"name": "index",
|
|
7920
|
+
"description": "Sets the step's index",
|
|
7921
|
+
"value": {
|
|
7922
|
+
"type": "number"
|
|
7923
|
+
}
|
|
7924
|
+
}
|
|
7925
|
+
]
|
|
7926
|
+
},
|
|
7927
|
+
{
|
|
7928
|
+
"js": {
|
|
7929
|
+
"properties": [],
|
|
7930
|
+
"events": []
|
|
7931
|
+
},
|
|
7932
|
+
"attributes": []
|
|
7933
|
+
},
|
|
7934
|
+
{
|
|
7935
|
+
"name": "dsa-stepper",
|
|
7936
|
+
"description": "",
|
|
7937
|
+
"js": {
|
|
7938
|
+
"properties": [
|
|
7939
|
+
{
|
|
7940
|
+
"name": "hideLabel",
|
|
7941
|
+
"description": "When set to true, it hides all steps's label.",
|
|
7942
|
+
"value": {
|
|
7943
|
+
"type": "false"
|
|
7944
|
+
}
|
|
7945
|
+
},
|
|
7946
|
+
{
|
|
7947
|
+
"name": "getAllSteps",
|
|
7948
|
+
"value": {}
|
|
7949
|
+
},
|
|
7950
|
+
{
|
|
7951
|
+
"name": "handleDefaultSlotChange",
|
|
7952
|
+
"value": {}
|
|
7953
|
+
}
|
|
7954
|
+
],
|
|
7955
|
+
"events": []
|
|
7956
|
+
},
|
|
7957
|
+
"attributes": [
|
|
7958
|
+
{
|
|
7959
|
+
"name": "hideLabel",
|
|
7960
|
+
"description": "When set to true, it hides all steps's label.",
|
|
7961
|
+
"value": {
|
|
7962
|
+
"type": "false"
|
|
7963
|
+
}
|
|
7964
|
+
}
|
|
7965
|
+
]
|
|
7966
|
+
},
|
|
7815
7967
|
{
|
|
7816
7968
|
"name": "dsa-tab",
|
|
7817
7969
|
"description": "",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ds-autonomie/web-components",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.0",
|
|
4
4
|
"author": "CNSA",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"customElements": "dist/custom-elements.json",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"lit": "2.8.0"
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
48
|
-
"@ds-autonomie/assets": "1.
|
|
48
|
+
"@ds-autonomie/assets": "1.1.1"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"@custom-elements-manifest/analyzer": "0.8.4",
|
|
@@ -76,7 +76,6 @@
|
|
|
76
76
|
"eslint-plugin-lit-a11y": "2.3.0",
|
|
77
77
|
"eslint-plugin-markdown": "3.0.0",
|
|
78
78
|
"eslint-plugin-wc": "1.4.0",
|
|
79
|
-
"globby": "13.1.3",
|
|
80
79
|
"jsonata": "2.0.1",
|
|
81
80
|
"lunr": "2.3.9",
|
|
82
81
|
"pascal-case": "3.1.2",
|
|
@@ -96,9 +95,9 @@
|
|
|
96
95
|
"@ds-autonomie/eslint-config": "2.0.0"
|
|
97
96
|
},
|
|
98
97
|
"scripts": {
|
|
99
|
-
"start": "node scripts/build.js --
|
|
100
|
-
"build": "node scripts/build.js --
|
|
101
|
-
"ts
|
|
98
|
+
"start": "node scripts/build.js --watch",
|
|
99
|
+
"build": "node scripts/build.js --types",
|
|
100
|
+
"ts:check": "tsc --noEmit --project ./tsconfig.json",
|
|
102
101
|
"test": "web-test-runner --group default",
|
|
103
102
|
"test:coverage": "web-test-runner --group default --coverage",
|
|
104
103
|
"test:component": "web-test-runner -- --watch --group",
|