@warp-ds/elements 2.10.0 → 2.10.1-next.1
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/dist/custom-elements.json +51 -46
- package/dist/docs/affix/affix.md +1 -9
- package/dist/docs/alert/alert.md +1 -1
- package/dist/docs/attention/attention.md +3 -1
- package/dist/docs/box/box.md +2 -0
- package/dist/docs/breadcrumb-item/breadcrumb-item.md +2 -0
- package/dist/docs/breadcrumbs/breadcrumbs.md +3 -0
- package/dist/docs/button/button.md +3 -0
- package/dist/docs/card/card.md +2 -0
- package/dist/docs/checkbox/api.md +0 -9
- package/dist/docs/checkbox/checkbox.md +5 -10
- package/dist/docs/checkbox-group/checkbox-group.md +3 -10
- package/dist/docs/combobox/combobox.md +2 -0
- package/dist/docs/datepicker/datepicker.md +2 -2
- package/dist/docs/expandable/expandable.md +2 -0
- package/dist/docs/icon/icon.md +1 -1
- package/dist/docs/index.md +35 -35
- package/dist/docs/link/link.md +3 -1
- package/dist/docs/modal/modal.md +2 -0
- package/dist/docs/modal-footer/modal-footer.md +2 -0
- package/dist/docs/modal-header/modal-header.md +2 -0
- package/dist/docs/page-indicator/page-indicator.md +2 -0
- package/dist/docs/pagination/pagination.md +2 -0
- package/dist/docs/pill/pill.md +2 -0
- package/dist/docs/radio/radio.md +5 -1
- package/dist/docs/radio-group/radio-group.md +3 -1
- package/dist/docs/select/select.md +2 -0
- package/dist/docs/slider/slider.md +2 -0
- package/dist/docs/snackbar/snackbar.md +2 -0
- package/dist/docs/snackbar-item/snackbar-item.md +2 -0
- package/dist/docs/step/step.md +3 -1
- package/dist/docs/step-indicator/step-indicator.md +2 -0
- package/dist/docs/switch/switch.md +2 -0
- package/dist/docs/tab/tab.md +2 -0
- package/dist/docs/tab-panel/tab-panel.md +3 -0
- package/dist/docs/tabs/api.md +1 -1
- package/dist/docs/tabs/tabs.md +3 -1
- package/dist/docs/textarea/textarea.md +1 -5
- package/dist/docs/textfield/textfield.md +2 -0
- package/dist/entrypoint-react.d.ts +38 -0
- package/dist/entrypoint-react.js +39 -0
- package/dist/index.d.ts +150 -118
- package/dist/packages/affix/affix.d.ts +6 -11
- package/dist/packages/affix/affix.js +9 -9
- package/dist/packages/affix/affix.js.map +2 -2
- package/dist/packages/affix/affix.react.stories.d.ts +1 -1
- package/dist/packages/affix/react.d.ts +7 -2
- package/dist/packages/affix/react.js +5 -0
- package/dist/packages/alert/alert.d.ts +6 -3
- package/dist/packages/alert/alert.js +3 -3
- package/dist/packages/alert/alert.js.map +2 -2
- package/dist/packages/alert/react.d.ts +8 -1
- package/dist/packages/alert/react.js +7 -0
- package/dist/packages/attention/attention.d.ts +3 -1
- package/dist/packages/attention/attention.js +12 -12
- package/dist/packages/attention/attention.js.map +2 -2
- package/dist/packages/attention/react.d.ts +13 -3
- package/dist/packages/attention/react.js +9 -0
- package/dist/packages/badge/badge.d.ts +5 -0
- package/dist/packages/badge/badge.js.map +2 -2
- package/dist/packages/badge/react.d.ts +6 -1
- package/dist/packages/badge/react.js +5 -0
- package/dist/packages/box/box.d.ts +6 -1
- package/dist/packages/box/box.js +3 -3
- package/dist/packages/box/box.js.map +2 -2
- package/dist/packages/box/box.react.stories.d.ts +1 -1
- package/dist/packages/box/react.d.ts +6 -1
- package/dist/packages/box/react.js +5 -0
- package/dist/packages/breadcrumb-item/breadcrumb-item.d.ts +6 -1
- package/dist/packages/breadcrumb-item/breadcrumb-item.js +2 -2
- package/dist/packages/breadcrumb-item/breadcrumb-item.js.map +2 -2
- package/dist/packages/breadcrumb-item/react.d.ts +7 -1
- package/dist/packages/breadcrumb-item/react.js +6 -0
- package/dist/packages/breadcrumbs/breadcrumbs.d.ts +7 -1
- package/dist/packages/breadcrumbs/breadcrumbs.js +3 -3
- package/dist/packages/breadcrumbs/breadcrumbs.js.map +2 -2
- package/dist/packages/breadcrumbs/react.d.ts +8 -1
- package/dist/packages/breadcrumbs/react.js +7 -0
- package/dist/packages/button/button.d.ts +2 -1
- package/dist/packages/button/button.js.map +2 -2
- package/dist/packages/button/button.react.stories.d.ts +2 -2
- package/dist/packages/button/react.d.ts +9 -2
- package/dist/packages/button/react.js +7 -0
- package/dist/packages/card/card.d.ts +6 -1
- package/dist/packages/card/card.js +2 -2
- package/dist/packages/card/card.js.map +2 -2
- package/dist/packages/card/card.react.stories.d.ts +1 -1
- package/dist/packages/card/react.d.ts +6 -1
- package/dist/packages/card/react.js +5 -0
- package/dist/packages/checkbox/checkbox.d.ts +6 -0
- package/dist/packages/checkbox/checkbox.js +1 -1
- package/dist/packages/checkbox/checkbox.js.map +2 -2
- package/dist/packages/checkbox/checkbox.react.stories.d.ts +2 -2
- package/dist/packages/checkbox/react.d.ts +12 -3
- package/dist/packages/checkbox/react.js +7 -0
- package/dist/packages/checkbox-group/checkbox-group.d.ts +3 -10
- package/dist/packages/checkbox-group/checkbox-group.js.map +2 -2
- package/dist/packages/checkbox-group/react.d.ts +9 -2
- package/dist/packages/checkbox-group/react.js +7 -0
- package/dist/packages/combobox/combobox.d.ts +6 -1
- package/dist/packages/combobox/combobox.js +3 -3
- package/dist/packages/combobox/combobox.js.map +2 -2
- package/dist/packages/combobox/combobox.react.stories.d.ts +18 -2
- package/dist/packages/combobox/react.d.ts +15 -2
- package/dist/packages/combobox/react.js +9 -0
- package/dist/packages/datepicker/datepicker.d.ts +7 -4
- package/dist/packages/datepicker/datepicker.js +3 -3
- package/dist/packages/datepicker/datepicker.js.map +2 -2
- package/dist/packages/datepicker/datepicker.react.stories.d.ts +14 -14
- package/dist/packages/datepicker/react.d.ts +14 -8
- package/dist/packages/datepicker/react.js +5 -0
- package/dist/packages/expandable/expandable.d.ts +7 -0
- package/dist/packages/expandable/expandable.js +4 -4
- package/dist/packages/expandable/expandable.js.map +2 -2
- package/dist/packages/expandable/react.d.ts +6 -1
- package/dist/packages/expandable/react.js +5 -0
- package/dist/packages/icon/icon.d.ts +3 -0
- package/dist/packages/icon/icon.js.map +2 -2
- package/dist/packages/icon/react.d.ts +4 -1
- package/dist/packages/icon/react.js +3 -0
- package/dist/packages/link/link.d.ts +7 -2
- package/dist/packages/link/link.js +5 -5
- package/dist/packages/link/link.js.map +2 -2
- package/dist/packages/link/link.react.stories.d.ts +2 -2
- package/dist/packages/link/react.d.ts +7 -2
- package/dist/packages/link/react.js +5 -0
- package/dist/packages/modal/modal.d.ts +7 -0
- package/dist/packages/modal/modal.js +4 -4
- package/dist/packages/modal/modal.js.map +2 -2
- package/dist/packages/modal/react.d.ts +3 -1
- package/dist/packages/modal/react.js +2 -0
- package/dist/packages/modal-footer/modal-footer.d.ts +7 -0
- package/dist/packages/modal-footer/modal-footer.js +1 -1
- package/dist/packages/modal-footer/modal-footer.js.map +2 -2
- package/dist/packages/modal-footer/react.d.ts +6 -1
- package/dist/packages/modal-footer/react.js +5 -0
- package/dist/packages/modal-header/modal-header.d.ts +7 -0
- package/dist/packages/modal-header/modal-header.js +5 -5
- package/dist/packages/modal-header/modal-header.js.map +2 -2
- package/dist/packages/modal-header/react.d.ts +8 -3
- package/dist/packages/modal-header/react.js +5 -0
- package/dist/packages/page-indicator/page-indicator.d.ts +7 -0
- package/dist/packages/page-indicator/page-indicator.js +4 -4
- package/dist/packages/page-indicator/page-indicator.js.map +2 -2
- package/dist/packages/page-indicator/react.d.ts +8 -1
- package/dist/packages/page-indicator/react.js +7 -0
- package/dist/packages/pagination/pagination.d.ts +7 -0
- package/dist/packages/pagination/pagination.js +5 -5
- package/dist/packages/pagination/pagination.js.map +2 -2
- package/dist/packages/pagination/pagination.react.stories.d.ts +12 -4
- package/dist/packages/pagination/react.d.ts +12 -3
- package/dist/packages/pagination/react.js +5 -0
- package/dist/packages/pill/pill.d.ts +7 -0
- package/dist/packages/pill/pill.js.map +2 -2
- package/dist/packages/pill/pill.react.stories.d.ts +12 -8
- package/dist/packages/pill/pill.react.stories.js +4 -0
- package/dist/packages/pill/react.d.ts +10 -5
- package/dist/packages/pill/react.js +7 -2
- package/dist/packages/radio/radio.d.ts +6 -0
- package/dist/packages/radio/radio.js.map +2 -2
- package/dist/packages/radio/react.d.ts +8 -1
- package/dist/packages/radio/react.js +7 -0
- package/dist/packages/radio-group/radio-group.d.ts +3 -10
- package/dist/packages/radio-group/radio-group.js.map +2 -2
- package/dist/packages/radio-group/react.d.ts +11 -4
- package/dist/packages/radio-group/react.js +8 -0
- package/dist/packages/select/react.d.ts +10 -4
- package/dist/packages/select/react.js +5 -0
- package/dist/packages/select/select.d.ts +8 -2
- package/dist/packages/select/select.js +5 -5
- package/dist/packages/select/select.js.map +2 -2
- package/dist/packages/select/select.react.stories.d.ts +6 -6
- package/dist/packages/select/select.react.stories.js +4 -4
- package/dist/packages/slider/react.d.ts +7 -2
- package/dist/packages/slider/react.js +5 -0
- package/dist/packages/slider/slider.d.ts +7 -0
- package/dist/packages/slider/slider.js +6 -6
- package/dist/packages/slider/slider.js.map +2 -2
- package/dist/packages/slider/slider.react.stories.d.ts +1 -1
- package/dist/packages/slider-thumb/react.d.ts +15 -4
- package/dist/packages/slider-thumb/react.js +5 -0
- package/dist/packages/slider-thumb/slider-thumb.d.ts +5 -0
- package/dist/packages/slider-thumb/slider-thumb.js +4 -4
- package/dist/packages/slider-thumb/slider-thumb.js.map +2 -2
- package/dist/packages/snackbar/react.d.ts +40 -1
- package/dist/packages/snackbar/react.js +39 -0
- package/dist/packages/snackbar/snackbar.d.ts +2 -0
- package/dist/packages/snackbar/snackbar.js.map +2 -2
- package/dist/packages/snackbar-item/react.d.ts +8 -1
- package/dist/packages/snackbar-item/react.js +7 -0
- package/dist/packages/snackbar-item/snackbar-item.d.ts +2 -0
- package/dist/packages/snackbar-item/snackbar-item.js.map +2 -2
- package/dist/packages/step/react.d.ts +6 -1
- package/dist/packages/step/react.js +5 -0
- package/dist/packages/step/step.d.ts +8 -1
- package/dist/packages/step/step.js +7 -7
- package/dist/packages/step/step.js.map +2 -2
- package/dist/packages/step-indicator/react.d.ts +6 -1
- package/dist/packages/step-indicator/react.js +5 -0
- package/dist/packages/step-indicator/step-indicator.d.ts +7 -0
- package/dist/packages/step-indicator/step-indicator.js +2 -2
- package/dist/packages/step-indicator/step-indicator.js.map +2 -2
- package/dist/packages/switch/react.d.ts +9 -3
- package/dist/packages/switch/react.js +5 -0
- package/dist/packages/switch/switch.d.ts +7 -0
- package/dist/packages/switch/switch.js +3 -3
- package/dist/packages/switch/switch.js.map +2 -2
- package/dist/packages/switch/switch.react.stories.d.ts +2 -2
- package/dist/packages/tab/react.d.ts +9 -6
- package/dist/packages/tab/react.js +5 -2
- package/dist/packages/tab/tab.d.ts +7 -0
- package/dist/packages/tab/tab.js.map +2 -2
- package/dist/packages/tab-panel/react.d.ts +8 -1
- package/dist/packages/tab-panel/react.js +7 -0
- package/dist/packages/tab-panel/tab-panel.d.ts +3 -0
- package/dist/packages/tab-panel/tab-panel.js.map +2 -2
- package/dist/packages/tabs/react.d.ts +7 -3
- package/dist/packages/tabs/react.js +6 -2
- package/dist/packages/tabs/tabs.d.ts +3 -1
- package/dist/packages/tabs/tabs.js.map +2 -2
- package/dist/packages/textarea/react.d.ts +16 -10
- package/dist/packages/textarea/react.js +5 -0
- package/dist/packages/textarea/textarea.d.ts +6 -5
- package/dist/packages/textarea/textarea.js +5 -5
- package/dist/packages/textarea/textarea.js.map +2 -2
- package/dist/packages/textarea/textarea.react.stories.d.ts +18 -18
- package/dist/packages/textfield/react.d.ts +16 -10
- package/dist/packages/textfield/react.js +5 -0
- package/dist/packages/textfield/react.test.d.ts +1 -0
- package/dist/packages/textfield/react.test.js +20 -0
- package/dist/packages/textfield/textfield.d.ts +7 -5
- package/dist/packages/textfield/textfield.js +8 -8
- package/dist/packages/textfield/textfield.js.map +3 -3
- package/dist/packages/textfield/textfield.react.stories.d.ts +18 -18
- package/dist/packages/toast/toast.d.ts +5 -0
- package/dist/packages/toast/toast.js +4 -4
- package/dist/packages/toast/toast.js.map +2 -2
- package/dist/packages/toast-container/toast-container.d.ts +6 -1
- package/dist/packages/toast-container/toast-container.js +3 -3
- package/dist/packages/toast-container/toast-container.js.map +2 -2
- package/dist/packages/types.d.ts +16 -0
- package/dist/packages/types.js +1 -0
- package/dist/web-types.json +42 -42
- package/eik/index.js +13 -13
- package/package.json +4 -112
- package/dist/packages/slider/Slider.d.ts +0 -2
- package/dist/packages/slider/Slider.js +0 -8
- package/dist/packages/slider-thumb/SliderThumb.d.ts +0 -2
- package/dist/packages/slider-thumb/SliderThumb.js +0 -8
package/dist/docs/index.md
CHANGED
|
@@ -9,41 +9,41 @@ Generated by `pnpm build:docs`. This file indexes the Markdown documentation shi
|
|
|
9
9
|
|
|
10
10
|
| Component | Element / API | Package | Summary | Docs |
|
|
11
11
|
|-|-|-|-|-|
|
|
12
|
-
| Affix | `<w-affix>` | `affix` | This component is usually used in other components like form elements to show a prefix or suffix. See for example `w-textfield`.
|
|
13
|
-
| Alert | `<w-alert>` | `alert` | Alert is an inline component used for displaying different types of messages.
|
|
14
|
-
| Attention | `<w-attention>` | `attention` | Attention is a versatile component for displaying contextual information and messages. It can be used for a wide range of purposes, such as tooltips, callouts, popovers, and highlights. The component is designed to be anchored to a trigger element, providing contextual information related to that element. It supports various placements and styling options to accommodate different use cases and design needs.
|
|
12
|
+
| Affix | `<w-affix>` | `affix` | This component is usually used in other components like form elements to show a prefix or suffix. See for example `w-textfield`. Warp component reference | [affix.md](./affix/affix.md) |
|
|
13
|
+
| Alert | `<w-alert>` | `alert` | Alert is an inline component used for displaying different types of messages. Warp component reference | [alert.md](./alert/alert.md) |
|
|
14
|
+
| Attention | `<w-attention>` | `attention` | Note: attention will soon be split into multiple components (tooltip, callout, popover, highlight) at which time this component will be deprecated. For now, use the `tooltip`, `callout`, `popover`, and `highlight` boolean properties to achieve the desired style and behavior. Attention is a versatile component for displaying contextual information and messages. It can be used for a wide range of purposes, such as tooltips, callouts, popovers, and highlights. The component is designed to be anchored to a trigger element, providing contextual information related to that element. It supports various placements and styling options to accommodate different use cases and design needs. Warp component reference | [attention.md](./attention/attention.md) |
|
|
15
15
|
| Badge | `<w-badge>` | `badge` | `w-badge` is used for showing a small amount of non-interactive color-categorized metadata, like a status or count. | [badge.md](./badge/badge.md) |
|
|
16
|
-
| Box | `<w-box>` | `box` | Box is a layout component used for separating content areas on a page. | [box.md](./box/box.md) |
|
|
17
|
-
| Breadcrumb Item | `<w-breadcrumb-item>` | `breadcrumb-item` | Represents one item in a `w-breadcrumbs` trail. Renders the slotted label as a link when `href` is set, or as text when it is not, and adds a separator after non-current items. | [breadcrumb-item.md](./breadcrumb-item/breadcrumb-item.md) |
|
|
18
|
-
| Breadcrumbs | `<w-breadcrumbs>` | `breadcrumbs` | Shows the navigation structure for the current page. Renders direct child links and non-link elements as a breadcrumb trail, inserts separators between items, and exposes the trail as navigation. | [breadcrumbs.md](./breadcrumbs/breadcrumbs.md) |
|
|
19
|
-
| Button | `<w-button>` | `button` | Performs an action or renders a link with button styling. Use button variants to match action priority, risk, and context. | [button.md](./button/button.md) |
|
|
20
|
-
| Card | `<w-card>` | `card` | Card is a layout component used for separating content areas on a page. | [card.md](./card/card.md) |
|
|
21
|
-
| Checkbox | `<w-checkbox>` | `checkbox` |
|
|
22
|
-
| Checkbox Group | `<w-checkbox-group>` | `checkbox-group` | Checkboxes allow users to select
|
|
23
|
-
| Combobox | `<w-combobox>` | `combobox` | A combobox element for text input with selectable options. | [combobox.md](./combobox/combobox.md) |
|
|
24
|
-
| Datepicker | `<w-datepicker>` | `datepicker` |
|
|
25
|
-
| Expandable | `<w-expandable>` | `expandable` | Expandable is a layout component used for creating expandable content areas on a page. | [expandable.md](./expandable/expandable.md) |
|
|
26
|
-
| Icon | `<w-icon>` | `icon` |
|
|
27
|
-
| Link | `<w-link>` | `link` |
|
|
28
|
-
| Modal | `<w-modal>` | `modal` | Modals (or dialogs) display important information that users need to acknowledge. | [modal.md](./modal/modal.md) |
|
|
29
|
-
| Modal Footer | `<w-modal-footer>` | `modal-footer` | The footer section of a modal, typically where you place actions. | [modal-footer.md](./modal-footer/modal-footer.md) |
|
|
30
|
-
| Modal Header | `<w-modal-header>` | `modal-header` | The header section of a modal, typically where you place the title and a close button. | [modal-header.md](./modal-header/modal-header.md) |
|
|
31
|
-
| Page Indicator | `<w-page-indicator>` | `page-indicator` | A page indicator component that displays a series of dots representing pages. One dot is highlighted to indicate the currently selected page. | [page-indicator.md](./page-indicator/page-indicator.md) |
|
|
32
|
-
| Pagination | `<w-pagination>` | `pagination` | Pagination allows users to navigate through multiple pages of content by providing navigation controls with page numbers and directional arrows. | [pagination.md](./pagination/pagination.md) |
|
|
33
|
-
| Pill | `<w-pill>` | `pill` | Pill is a type of button that is often used as a filter, but can also be used as a rounded button for overlays, etc. | [pill.md](./pill/pill.md) |
|
|
34
|
-
| Radio | `<w-radio>` | `radio` |
|
|
35
|
-
| Radio Group | `<w-radio-group>` | `radio-group` | Radios allow users to select a single option from a list of choices.
|
|
36
|
-
| Select | `<w-select>` | `select` | A dropdown component for selecting a single value. | [select.md](./select/select.md) |
|
|
37
|
-
| Slider | `<w-slider>` | `slider` | Parent component for sliders (both single and range sliders). Used in combination with a `<w-slider-thumb>`. | [slider.md](./slider/slider.md) |
|
|
16
|
+
| Box | `<w-box>` | `box` | Box is a layout component used for separating content areas on a page. Warp component reference | [box.md](./box/box.md) |
|
|
17
|
+
| Breadcrumb Item | `<w-breadcrumb-item>` | `breadcrumb-item` | Represents one item in a `w-breadcrumbs` trail. Renders the slotted label as a link when `href` is set, or as text when it is not, and adds a separator after non-current items. Warp component reference | [breadcrumb-item.md](./breadcrumb-item/breadcrumb-item.md) |
|
|
18
|
+
| Breadcrumbs | `<w-breadcrumbs>` | `breadcrumbs` | Shows the navigation structure for the current page. Renders direct child links and non-link elements as a breadcrumb trail, inserts separators between items, and exposes the trail as navigation. Warp component reference | [breadcrumbs.md](./breadcrumbs/breadcrumbs.md) |
|
|
19
|
+
| Button | `<w-button>` | `button` | Performs an action or renders a link with button styling. Use button variants to match action priority, risk, and context. Warp component reference | [button.md](./button/button.md) |
|
|
20
|
+
| Card | `<w-card>` | `card` | Card is a layout component used for separating content areas on a page. Warp component reference | [card.md](./card/card.md) |
|
|
21
|
+
| Checkbox | `<w-checkbox>` | `checkbox` | Checkboxes allow users to select one or more options from a number of choices. Wrap individual checkboxes in a checkbox group. Warp component reference | [checkbox.md](./checkbox/checkbox.md) |
|
|
22
|
+
| Checkbox Group | `<w-checkbox-group>` | `checkbox-group` | Checkboxes allow users to select one or more options from a number of choices. Wrap individual checkboxes in a checkbox group. Warp component reference | [checkbox-group.md](./checkbox-group/checkbox-group.md) |
|
|
23
|
+
| Combobox | `<w-combobox>` | `combobox` | A combobox element for text input with selectable options. Warp component reference | [combobox.md](./combobox/combobox.md) |
|
|
24
|
+
| Datepicker | `<w-datepicker>` | `datepicker` | A date picker allows the user to select a specific calendar date. Warp component reference | [datepicker.md](./datepicker/datepicker.md) |
|
|
25
|
+
| Expandable | `<w-expandable>` | `expandable` | Expandable is a layout component used for creating expandable content areas on a page. Warp component reference | [expandable.md](./expandable/expandable.md) |
|
|
26
|
+
| Icon | `<w-icon>` | `icon` | Warp component reference | [icon.md](./icon/icon.md) |
|
|
27
|
+
| Link | `<w-link>` | `link` | Link component to use when creating links that look like buttons. Warp component reference | [link.md](./link/link.md) |
|
|
28
|
+
| Modal | `<w-modal>` | `modal` | Modals (or dialogs) display important information that users need to acknowledge. Warp component reference | [modal.md](./modal/modal.md) |
|
|
29
|
+
| Modal Footer | `<w-modal-footer>` | `modal-footer` | The footer section of a modal, typically where you place actions. Warp component reference | [modal-footer.md](./modal-footer/modal-footer.md) |
|
|
30
|
+
| Modal Header | `<w-modal-header>` | `modal-header` | The header section of a modal, typically where you place the title and a close button. Warp component reference | [modal-header.md](./modal-header/modal-header.md) |
|
|
31
|
+
| Page Indicator | `<w-page-indicator>` | `page-indicator` | A page indicator component that displays a series of dots representing pages. One dot is highlighted to indicate the currently selected page. Warp component reference | [page-indicator.md](./page-indicator/page-indicator.md) |
|
|
32
|
+
| Pagination | `<w-pagination>` | `pagination` | Pagination allows users to navigate through multiple pages of content by providing navigation controls with page numbers and directional arrows. Warp component reference | [pagination.md](./pagination/pagination.md) |
|
|
33
|
+
| Pill | `<w-pill>` | `pill` | Pill is a type of button that is often used as a filter, but can also be used as a rounded button for overlays, etc. Warp component reference | [pill.md](./pill/pill.md) |
|
|
34
|
+
| Radio | `<w-radio>` | `radio` | Radios allow users to select a single option from a list of choices. Wrap individual radio components in a radio group. Warp component reference | [radio.md](./radio/radio.md) |
|
|
35
|
+
| Radio Group | `<w-radio-group>` | `radio-group` | Radios allow users to select a single option from a list of choices. Wrap individual radio components in a radio group. Warp component reference | [radio-group.md](./radio-group/radio-group.md) |
|
|
36
|
+
| Select | `<w-select>` | `select` | A dropdown component for selecting a single value. Warp component reference | [select.md](./select/select.md) |
|
|
37
|
+
| Slider | `<w-slider>` | `slider` | Parent component for sliders (both single and range sliders). Used in combination with a `<w-slider-thumb>`. Warp component reference | [slider.md](./slider/slider.md) |
|
|
38
38
|
| Slider Thumb | `<w-slider-thumb>` | `slider-thumb` | Component to place inside a `<w-slider>`. | [slider-thumb.md](./slider-thumb/slider-thumb.md) |
|
|
39
|
-
| Snackbar | `<w-snackbar>` | `snackbar` | A Snackbar shows brief user feedback messages that overlay content, with an optional action such as Undo. Include one `<w-snackbar></w-snackbar>` in the document `<body>`. Use the `create` function to create messages. | [snackbar.md](./snackbar/snackbar.md) |
|
|
40
|
-
| Snackbar Item | `<w-snackbar-item>` | `snackbar-item` | An item to show in a `w-snackbar`. See the `create` function on `w-snackbar` for a convenience API which helps you make snackbar items. | [snackbar-item.md](./snackbar-item/snackbar-item.md) |
|
|
41
|
-
| Step | `<w-step>` | `step` | Individual step component that shows a single step in a process | [step.md](./step/step.md) |
|
|
42
|
-
| Step Indicator | `<w-step-indicator>` | `step-indicator` | Steps are used to show progress through a process or to guide users through a multi-step task. | [step-indicator.md](./step-indicator/step-indicator.md) |
|
|
43
|
-
| Switch | `<w-switch>` | `switch` | The Switch component allows users to toggle between two states. | [switch.md](./switch/switch.md) |
|
|
44
|
-
| Tab | `<w-tab>` | `tab` | Individual tab component used within w-tabs container. | [tab.md](./tab/tab.md) |
|
|
45
|
-
| Tab Panel | `<w-tab-panel>` | `tab-panel` | Tab panel component that holds content for individual tabs. Each tab panel should have a name that matches a corresponding tab. | [tab-panel.md](./tab-panel/tab-panel.md) |
|
|
46
|
-
| Tabs | `<w-tabs>` | `tabs` | Tabs are used to organize content by grouping similar information on the same page. | [tabs.md](./tabs/tabs.md) |
|
|
47
|
-
| Textarea | `<w-textarea>` | `textarea` | A multi-line text input with built-in form validation, auto-resizing, and styling support.
|
|
48
|
-
| Textfield | `<w-textfield>` | `textfield` | A single-line input component used for entering and editing textual or numeric data. | [textfield.md](./textfield/textfield.md) |
|
|
39
|
+
| Snackbar | `<w-snackbar>` | `snackbar` | A Snackbar shows brief user feedback messages that overlay content, with an optional action such as Undo. Include one `<w-snackbar></w-snackbar>` in the document `<body>`. Use the `create` function to create messages. Warp component reference | [snackbar.md](./snackbar/snackbar.md) |
|
|
40
|
+
| Snackbar Item | `<w-snackbar-item>` | `snackbar-item` | An item to show in a `w-snackbar`. See the `create` function on `w-snackbar` for a convenience API which helps you make snackbar items. Warp component reference | [snackbar-item.md](./snackbar-item/snackbar-item.md) |
|
|
41
|
+
| Step | `<w-step>` | `step` | Individual step component that shows a single step in a process. Warp component reference | [step.md](./step/step.md) |
|
|
42
|
+
| Step Indicator | `<w-step-indicator>` | `step-indicator` | Steps are used to show progress through a process or to guide users through a multi-step task. Warp component reference | [step-indicator.md](./step-indicator/step-indicator.md) |
|
|
43
|
+
| Switch | `<w-switch>` | `switch` | The Switch component allows users to toggle between two states. Warp component reference | [switch.md](./switch/switch.md) |
|
|
44
|
+
| Tab | `<w-tab>` | `tab` | Individual tab component used within w-tabs container. Warp component reference | [tab.md](./tab/tab.md) |
|
|
45
|
+
| Tab Panel | `<w-tab-panel>` | `tab-panel` | Tab panel component that holds content for individual tabs. Each tab panel should have a name that matches a corresponding tab. Warp component reference | [tab-panel.md](./tab-panel/tab-panel.md) |
|
|
46
|
+
| Tabs | `<w-tabs>` | `tabs` | Tabs are used to organize content by grouping similar information on the same page. Warp component reference | [tabs.md](./tabs/tabs.md) |
|
|
47
|
+
| Textarea | `<w-textarea>` | `textarea` | A multi-line text input with built-in form validation, auto-resizing, and styling support. Warp component reference | [textarea.md](./textarea/textarea.md) |
|
|
48
|
+
| Textfield | `<w-textfield>` | `textfield` | A single-line input component used for entering and editing textual or numeric data. Warp component reference | [textfield.md](./textfield/textfield.md) |
|
|
49
49
|
| Toast | `@warp-ds/elements/toast` | `toast` | Toasts are brief user feedback messages that overlay content. | [toast.md](./toast/toast.md) |
|
package/dist/docs/link/link.md
CHANGED
|
@@ -2,7 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
## Description
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Link component to use when creating links that look like buttons.
|
|
6
|
+
|
|
7
|
+
[Warp component reference](https://warp-ds.github.io/docs/components/link/frameworks/elements)
|
|
6
8
|
|
|
7
9
|
## Usage
|
|
8
10
|
|
package/dist/docs/modal/modal.md
CHANGED
|
@@ -6,6 +6,8 @@ A page indicator component that displays a series of dots representing pages.
|
|
|
6
6
|
|
|
7
7
|
One dot is highlighted to indicate the currently selected page.
|
|
8
8
|
|
|
9
|
+
[Warp component reference](https://warp-ds.github.io/docs/components/page-indicator/frameworks/elements)
|
|
10
|
+
|
|
9
11
|
## Usage
|
|
10
12
|
|
|
11
13
|
<elements-example>
|
|
@@ -4,6 +4,8 @@
|
|
|
4
4
|
|
|
5
5
|
Pagination allows users to navigate through multiple pages of content by providing navigation controls with page numbers and directional arrows.
|
|
6
6
|
|
|
7
|
+
[Warp component reference](https://warp-ds.github.io/docs/components/pagination/frameworks/elements)
|
|
8
|
+
|
|
7
9
|
## Usage
|
|
8
10
|
|
|
9
11
|
|
package/dist/docs/pill/pill.md
CHANGED
package/dist/docs/radio/radio.md
CHANGED
|
@@ -2,7 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
## Description
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Radios allow users to select a single option from a list of choices.
|
|
6
|
+
|
|
7
|
+
Wrap individual radio components in a radio group.
|
|
8
|
+
|
|
9
|
+
[Warp component reference](https://warp-ds.github.io/docs/components/radio/frameworks/elements)
|
|
6
10
|
|
|
7
11
|
### `<w-radio>` API
|
|
8
12
|
|
|
@@ -4,7 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
Radios allow users to select a single option from a list of choices.
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
Wrap individual radio components in a radio group.
|
|
8
|
+
|
|
9
|
+
[Warp component reference](https://warp-ds.github.io/docs/components/radio/frameworks/elements)
|
|
8
10
|
|
|
9
11
|
## Usage
|
|
10
12
|
|
|
@@ -4,6 +4,8 @@
|
|
|
4
4
|
|
|
5
5
|
Parent component for sliders (both single and range sliders). Used in combination with a `<w-slider-thumb>`.
|
|
6
6
|
|
|
7
|
+
[Warp component reference](https://warp-ds.github.io/docs/components/slider/frameworks/elements)
|
|
8
|
+
|
|
7
9
|
## Usage
|
|
8
10
|
|
|
9
11
|
A slider consists of two custom elements that work together:
|
|
@@ -6,6 +6,8 @@ A Snackbar shows brief user feedback messages that overlay content, with an opti
|
|
|
6
6
|
|
|
7
7
|
Include one `<w-snackbar></w-snackbar>` in the document `<body>`. Use the `create` function to create messages.
|
|
8
8
|
|
|
9
|
+
[Warp component reference](https://warp-ds.github.io/docs/components/snackbar/frameworks/elements)
|
|
10
|
+
|
|
9
11
|
## Usage
|
|
10
12
|
|
|
11
13
|
Add `<w-snackbar>` as a direct child of `<body>`.
|
|
@@ -6,6 +6,8 @@ An item to show in a `w-snackbar`.
|
|
|
6
6
|
|
|
7
7
|
See the `create` function on `w-snackbar` for a convenience API which helps you make snackbar items.
|
|
8
8
|
|
|
9
|
+
[Warp component reference](https://warp-ds.github.io/docs/components/snackbar/frameworks/elements)
|
|
10
|
+
|
|
9
11
|
### `<w-snackbar-item>` API
|
|
10
12
|
|
|
11
13
|
#### Properties
|
package/dist/docs/step/step.md
CHANGED
|
@@ -2,7 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
## Description
|
|
4
4
|
|
|
5
|
-
Individual step component that shows a single step in a process
|
|
5
|
+
Individual step component that shows a single step in a process.
|
|
6
|
+
|
|
7
|
+
[Warp component reference](https://warp-ds.github.io/docs/components/steps/frameworks/elements)
|
|
6
8
|
|
|
7
9
|
### `<w-step>` API
|
|
8
10
|
|
|
@@ -4,6 +4,8 @@
|
|
|
4
4
|
|
|
5
5
|
Steps are used to show progress through a process or to guide users through a multi-step task.
|
|
6
6
|
|
|
7
|
+
[Warp component reference](https://warp-ds.github.io/docs/components/steps/frameworks/elements)
|
|
8
|
+
|
|
7
9
|
## Usage
|
|
8
10
|
|
|
9
11
|
The steps component consists of two custom elements that work together:
|
package/dist/docs/tab/tab.md
CHANGED
|
@@ -3,8 +3,11 @@
|
|
|
3
3
|
## Description
|
|
4
4
|
|
|
5
5
|
Tab panel component that holds content for individual tabs.
|
|
6
|
+
|
|
6
7
|
Each tab panel should have a name that matches a corresponding tab.
|
|
7
8
|
|
|
9
|
+
[Warp component reference](https://warp-ds.github.io/docs/components/tabs/frameworks/elements)
|
|
10
|
+
|
|
8
11
|
### `<w-tab-panel>` API
|
|
9
12
|
|
|
10
13
|
#### Properties
|
package/dist/docs/tabs/api.md
CHANGED
package/dist/docs/tabs/tabs.md
CHANGED
|
@@ -4,6 +4,8 @@
|
|
|
4
4
|
|
|
5
5
|
Tabs are used to organize content by grouping similar information on the same page.
|
|
6
6
|
|
|
7
|
+
[Warp component reference](https://warp-ds.github.io/docs/components/tabs/frameworks/elements)
|
|
8
|
+
|
|
7
9
|
## Usage
|
|
8
10
|
|
|
9
11
|
The tabs component consists of three custom elements that work together:
|
|
@@ -122,7 +124,7 @@ The `id` of the panel that should be active.
|
|
|
122
124
|
|
|
123
125
|
#### change
|
|
124
126
|
|
|
125
|
-
Includes `details.panelId` with the now active tab's ID
|
|
127
|
+
Includes `details.panelId` with the now active tab panel's ID
|
|
126
128
|
|
|
127
129
|
- Type: `WarpTabsChangeEvent`
|
|
128
130
|
|
|
@@ -4,11 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
A multi-line text input with built-in form validation, auto-resizing, and styling support.
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
- Form integration
|
|
9
|
-
- Auto-resizing based on content and row constraints
|
|
10
|
-
- Built-in validation with customizable error messages
|
|
11
|
-
- Accessibility attributes and labeling
|
|
7
|
+
[Warp component reference](https://warp-ds.github.io/docs/components/text-area/frameworks/elements)
|
|
12
8
|
|
|
13
9
|
## Usage
|
|
14
10
|
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/** Entrypoint for all the React wrappers so users can import several components from the same import statement. */
|
|
2
|
+
export * from "./packages/affix/react.js";
|
|
3
|
+
export * from "./packages/alert/react.js";
|
|
4
|
+
export * from "./packages/attention/react.js";
|
|
5
|
+
export * from "./packages/badge/react.js";
|
|
6
|
+
export * from "./packages/box/react.js";
|
|
7
|
+
export * from "./packages/breadcrumb-item/react.js";
|
|
8
|
+
export * from "./packages/breadcrumbs/react.js";
|
|
9
|
+
export * from "./packages/button/react.js";
|
|
10
|
+
export * from "./packages/card/react.js";
|
|
11
|
+
export * from "./packages/checkbox/react.js";
|
|
12
|
+
export * from "./packages/checkbox-group/react.js";
|
|
13
|
+
export * from "./packages/combobox/react.js";
|
|
14
|
+
export * from "./packages/datepicker/react.js";
|
|
15
|
+
export * from "./packages/expandable/react.js";
|
|
16
|
+
export * from "./packages/icon/react.js";
|
|
17
|
+
export * from "./packages/link/react.js";
|
|
18
|
+
export * from "./packages/modal/react.js";
|
|
19
|
+
export * from "./packages/modal-footer/react.js";
|
|
20
|
+
export * from "./packages/modal-header/react.js";
|
|
21
|
+
export * from "./packages/page-indicator/react.js";
|
|
22
|
+
export * from "./packages/pagination/react.js";
|
|
23
|
+
export * from "./packages/pill/react.js";
|
|
24
|
+
export * from "./packages/radio/react.js";
|
|
25
|
+
export * from "./packages/radio-group/react.js";
|
|
26
|
+
export * from "./packages/select/react.js";
|
|
27
|
+
export * from "./packages/slider/react.js";
|
|
28
|
+
export * from "./packages/slider-thumb/react.js";
|
|
29
|
+
export * from "./packages/snackbar/react.js";
|
|
30
|
+
export * from "./packages/snackbar-item/react.js";
|
|
31
|
+
export * from "./packages/step/react.js";
|
|
32
|
+
export * from "./packages/step-indicator/react.js";
|
|
33
|
+
export * from "./packages/switch/react.js";
|
|
34
|
+
export * from "./packages/tab/react.js";
|
|
35
|
+
export * from "./packages/tab-panel/react.js";
|
|
36
|
+
export * from "./packages/tabs/react.js";
|
|
37
|
+
export * from "./packages/textarea/react.js";
|
|
38
|
+
export * from "./packages/textfield/react.js";
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/** Entrypoint for all the React wrappers so users can import several components from the same import statement. */
|
|
2
|
+
export * from "./packages/affix/react.js";
|
|
3
|
+
export * from "./packages/alert/react.js";
|
|
4
|
+
export * from "./packages/attention/react.js";
|
|
5
|
+
export * from "./packages/badge/react.js";
|
|
6
|
+
export * from "./packages/box/react.js";
|
|
7
|
+
export * from "./packages/breadcrumb-item/react.js";
|
|
8
|
+
export * from "./packages/breadcrumbs/react.js";
|
|
9
|
+
export * from "./packages/button/react.js";
|
|
10
|
+
export * from "./packages/card/react.js";
|
|
11
|
+
export * from "./packages/checkbox/react.js";
|
|
12
|
+
export * from "./packages/checkbox-group/react.js";
|
|
13
|
+
export * from "./packages/combobox/react.js";
|
|
14
|
+
export * from "./packages/datepicker/react.js";
|
|
15
|
+
// export * from "./packages/dead-toggle/react.js";
|
|
16
|
+
export * from "./packages/expandable/react.js";
|
|
17
|
+
export * from "./packages/icon/react.js";
|
|
18
|
+
export * from "./packages/link/react.js";
|
|
19
|
+
export * from "./packages/modal/react.js";
|
|
20
|
+
export * from "./packages/modal-footer/react.js";
|
|
21
|
+
export * from "./packages/modal-header/react.js";
|
|
22
|
+
export * from "./packages/page-indicator/react.js";
|
|
23
|
+
export * from "./packages/pagination/react.js";
|
|
24
|
+
export * from "./packages/pill/react.js";
|
|
25
|
+
export * from "./packages/radio/react.js";
|
|
26
|
+
export * from "./packages/radio-group/react.js";
|
|
27
|
+
export * from "./packages/select/react.js";
|
|
28
|
+
export * from "./packages/slider/react.js";
|
|
29
|
+
export * from "./packages/slider-thumb/react.js";
|
|
30
|
+
export * from "./packages/snackbar/react.js";
|
|
31
|
+
export * from "./packages/snackbar-item/react.js";
|
|
32
|
+
export * from "./packages/step/react.js";
|
|
33
|
+
export * from "./packages/step-indicator/react.js";
|
|
34
|
+
export * from "./packages/switch/react.js";
|
|
35
|
+
export * from "./packages/tab/react.js";
|
|
36
|
+
export * from "./packages/tab-panel/react.js";
|
|
37
|
+
export * from "./packages/tabs/react.js";
|
|
38
|
+
export * from "./packages/textarea/react.js";
|
|
39
|
+
export * from "./packages/textfield/react.js";
|