Skip to content

Commit

Permalink
chore(ariakit): upgrade ariakit from 0.4.3 to 0.4.15 (#2586)
Browse files Browse the repository at this point in the history
* chore(ariakit): upgrade ariakit from 0.4.3 to 0.4.13

* chore(ariakit): rm vversion range on ariakit dep

* chore(ariakit): upgrade package from 0.4.13 to 0.4.15

* v6.6.0-alpha.0

---------

Co-authored-by: theojungle <[email protected]>
  • Loading branch information
cnairi and theo-mesnil authored Dec 9, 2024
1 parent 34c6e33 commit 39d6983
Show file tree
Hide file tree
Showing 39 changed files with 346 additions and 160 deletions.
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"ignore": [
"website"
],
"version": "6.5.0",
"version": "6.6.0-alpha.0",
"npmClient": "yarn",
"useNx": false
}
4 changes: 2 additions & 2 deletions packages/Accordion/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@welcome-ui/accordion",
"version": "6.5.0",
"version": "6.6.0-alpha.0",
"description": "Customizable design system with react • styled-components • styled-system and ariakit.",
"main": "dist/index.js",
"module": "dist/index.mjs",
Expand Down Expand Up @@ -46,7 +46,7 @@
"url": "https://github.com/WTTJ/welcome-ui/issues"
},
"dependencies": {
"@ariakit/react": "0.4.3",
"@ariakit/react": "0.4.15",
"@welcome-ui/box": "^6.1.1",
"@welcome-ui/icons": "^6.5.0",
"@welcome-ui/system": "^6.1.1"
Expand Down
6 changes: 3 additions & 3 deletions packages/Alert/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@welcome-ui/alert",
"version": "6.5.0",
"version": "6.6.0-alpha.0",
"description": "Customizable design system with react • styled-components • styled-system and ariakit.",
"main": "dist/index.js",
"module": "dist/index.mjs",
Expand Down Expand Up @@ -47,8 +47,8 @@
},
"dependencies": {
"@welcome-ui/box": "^6.1.1",
"@welcome-ui/button": "^6.5.0",
"@welcome-ui/close-button": "^6.5.0",
"@welcome-ui/button": "^6.6.0-alpha.0",
"@welcome-ui/close-button": "^6.6.0-alpha.0",
"@welcome-ui/system": "^6.1.1",
"@welcome-ui/text": "^6.2.0",
"@welcome-ui/variant-icon": "^6.5.0"
Expand Down
4 changes: 2 additions & 2 deletions packages/Button/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@welcome-ui/button",
"version": "6.5.0",
"version": "6.6.0-alpha.0",
"description": "welcome-ui: A button component",
"main": "dist/index.js",
"module": "dist/index.mjs",
Expand Down Expand Up @@ -46,7 +46,7 @@
"url": "https://github.com/WTTJ/welcome-ui/issues"
},
"dependencies": {
"@ariakit/react": "0.4.3",
"@ariakit/react": "0.4.15",
"@welcome-ui/box": "^6.1.1",
"@welcome-ui/loader": "^6.4.0",
"@welcome-ui/system": "^6.1.1",
Expand Down
4 changes: 2 additions & 2 deletions packages/ButtonGroup/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@welcome-ui/button-group",
"version": "6.5.0",
"version": "6.6.0-alpha.0",
"description": "welcome-ui: A ButtonGroup component",
"main": "dist/index.js",
"module": "dist/index.mjs",
Expand Down Expand Up @@ -46,7 +46,7 @@
"url": "https://github.com/WTTJ/welcome-ui/issues"
},
"dependencies": {
"@welcome-ui/button": "^6.5.0",
"@welcome-ui/button": "^6.6.0-alpha.0",
"@welcome-ui/system": "^6.1.1"
},
"peerDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions packages/Checkbox/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@welcome-ui/checkbox",
"version": "6.4.0",
"version": "6.6.0-alpha.0",
"description": "Customizable design system with react • styled-components • styled-system and ariakit.",
"main": "dist/index.js",
"module": "dist/index.mjs",
Expand Down Expand Up @@ -46,7 +46,7 @@
"url": "https://github.com/WTTJ/welcome-ui/issues"
},
"dependencies": {
"@ariakit/react": "0.4.3",
"@ariakit/react": "0.4.15",
"@welcome-ui/system": "^6.1.1",
"@welcome-ui/utils": "^6.4.0"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/ClearButton/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@welcome-ui/clear-button",
"version": "6.5.0",
"version": "6.6.0-alpha.0",
"description": "Customizable design system with react • styled-components • styled-system and ariakit.",
"main": "dist/index.js",
"module": "dist/index.mjs",
Expand Down Expand Up @@ -46,7 +46,7 @@
"url": "https://github.com/WTTJ/welcome-ui/issues"
},
"dependencies": {
"@welcome-ui/button": "^6.5.0",
"@welcome-ui/button": "^6.6.0-alpha.0",
"@welcome-ui/icons": "^6.5.0",
"@welcome-ui/system": "^6.1.1"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/CloseButton/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@welcome-ui/close-button",
"version": "6.5.0",
"version": "6.6.0-alpha.0",
"description": "Customizable design system with react • styled-components • styled-system and ariakit.",
"main": "dist/index.js",
"module": "dist/index.mjs",
Expand Down Expand Up @@ -46,7 +46,7 @@
"url": "https://github.com/WTTJ/welcome-ui/issues"
},
"dependencies": {
"@welcome-ui/button": "^6.5.0",
"@welcome-ui/button": "^6.6.0-alpha.0",
"@welcome-ui/icons": "^6.5.0",
"@welcome-ui/system": "^6.1.1"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/DatePicker/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@welcome-ui/date-picker",
"version": "6.5.0",
"version": "6.6.0-alpha.0",
"description": "Customizable design system with react • styled-components • styled-system and ariakit.",
"main": "dist/index.js",
"module": "dist/index.mjs",
Expand Down Expand Up @@ -47,7 +47,7 @@
},
"dependencies": {
"@types/react-datepicker": "^4.15.0",
"@welcome-ui/date-time-picker-common": "^6.5.0",
"@welcome-ui/date-time-picker-common": "^6.6.0-alpha.0",
"@welcome-ui/system": "^6.1.1",
"react-datepicker": "^4.16.0"
},
Expand Down
8 changes: 4 additions & 4 deletions packages/DateTimePicker/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@welcome-ui/date-time-picker",
"version": "6.5.0",
"version": "6.6.0-alpha.0",
"description": "Customizable design system with react • styled-components • styled-system and ariakit.",
"main": "dist/index.js",
"module": "dist/index.mjs",
Expand Down Expand Up @@ -46,10 +46,10 @@
"url": "https://github.com/WTTJ/welcome-ui/issues"
},
"dependencies": {
"@welcome-ui/date-picker": "^6.5.0",
"@welcome-ui/date-time-picker-common": "^6.5.0",
"@welcome-ui/date-picker": "^6.6.0-alpha.0",
"@welcome-ui/date-time-picker-common": "^6.6.0-alpha.0",
"@welcome-ui/system": "^6.1.1",
"@welcome-ui/time-picker": "^6.5.0"
"@welcome-ui/time-picker": "^6.6.0-alpha.0"
},
"peerDependencies": {
"@xstyled/styled-components": "^3.7.3",
Expand Down
8 changes: 4 additions & 4 deletions packages/DateTimePickerCommon/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@welcome-ui/date-time-picker-common",
"version": "6.5.0",
"version": "6.6.0-alpha.0",
"description": "Customizable design system with react • styled-components • styled-system and ariakit.",
"main": "dist/index.js",
"module": "dist/index.mjs",
Expand Down Expand Up @@ -48,12 +48,12 @@
"homepage": "https://github.com/WTTJ/welcome-ui#readme",
"dependencies": {
"@types/react-datepicker": "^4.15.0",
"@welcome-ui/button": "^6.5.0",
"@welcome-ui/clear-button": "^6.5.0",
"@welcome-ui/button": "^6.6.0-alpha.0",
"@welcome-ui/clear-button": "^6.6.0-alpha.0",
"@welcome-ui/field": "^6.5.0",
"@welcome-ui/icon": "^6.1.1",
"@welcome-ui/icons": "^6.5.0",
"@welcome-ui/select": "^6.5.0",
"@welcome-ui/select": "^6.6.0-alpha.0",
"@welcome-ui/system": "^6.1.1",
"@welcome-ui/utils": "^6.4.0",
"date-fns": "^4.1.0",
Expand Down
44 changes: 39 additions & 5 deletions packages/Drawer/docs/properties.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"props": {
"accessibleWhenDisabled": {
"defaultValue": null,
"description": "Indicates whether the element should be focusable even when it is\n[`disabled`](https://ariakit.org/reference/focusable#disabled).\n\nThis is important when discoverability is a concern. For example:\n\n> A toolbar in an editor contains a set of special smart paste functions\nthat are disabled when the clipboard is empty or when the function is not\napplicable to the current content of the clipboard. It could be helpful to\nkeep the disabled buttons focusable if the ability to discover their\nfunctionality is primarily via their presence on the toolbar.\n\nLearn more on [Focusability of disabled\ncontrols](https://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#focusabilityofdisabledcontrols).\n\nLive examples:\n- [Combobox with tabs](https://ariakit.org/examples/combobox-tabs)",
"description": "Indicates whether the element should be focusable even when it is\n[`disabled`](https://ariakit.org/reference/focusable#disabled).\n\nThis is important when discoverability is a concern. For example:\n\n> A toolbar in an editor contains a set of special smart paste functions\nthat are disabled when the clipboard is empty or when the function is not\napplicable to the current content of the clipboard. It could be helpful to\nkeep the disabled buttons focusable if the ability to discover their\nfunctionality is primarily via their presence on the toolbar.\n\nLearn more on [Focusability of disabled\ncontrols](https://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#focusabilityofdisabledcontrols).\n\nLive examples:\n- [Combobox with Tabs](https://ariakit.org/examples/combobox-tabs)",
"name": "accessibleWhenDisabled",
"parent": {
"fileName": "welcome-ui/node_modules/@ariakit/react-core/cjs/focusable/focusable.d.ts",
Expand Down Expand Up @@ -155,7 +155,7 @@
"defaultValue": {
"value": "false"
},
"description": "Determines if the element is disabled. This sets the `aria-disabled`\nattribute accordingly, enabling support for all elements, including those\nthat don't support the native `disabled` attribute.\n\nThis feature can be combined with the\n[`accessibleWhenDisabled`](https://ariakit.org/reference/focusable#accessiblewhendisabled)\nprop to make disabled elements still accessible via keyboard.\n\n**Note**: For this prop to work, the\n[`focusable`](https://ariakit.org/reference/command#focusable) prop must be\nset to `true`, if it's not set by default.\n\nLive examples:\n- [Submenu](https://ariakit.org/examples/menu-nested)\n- [Combobox with tabs](https://ariakit.org/examples/combobox-tabs)\n- [Context Menu](https://ariakit.org/examples/menu-context-menu)",
"description": "Determines if the element is disabled. This sets the `aria-disabled`\nattribute accordingly, enabling support for all elements, including those\nthat don't support the native `disabled` attribute.\n\nThis feature can be combined with the\n[`accessibleWhenDisabled`](https://ariakit.org/reference/focusable#accessiblewhendisabled)\nprop to make disabled elements still accessible via keyboard.\n\n**Note**: For this prop to work, the\n[`focusable`](https://ariakit.org/reference/command#focusable) prop must be\nset to `true`, if it's not set by default.\n\nLive examples:\n- [Submenu](https://ariakit.org/examples/menu-nested)\n- [Combobox with Tabs](https://ariakit.org/examples/combobox-tabs)\n- [Context Menu](https://ariakit.org/examples/menu-context-menu)",
"name": "disabled",
"parent": {
"fileName": "welcome-ui/node_modules/@ariakit/react-core/cjs/focusable/focusable.d.ts",
Expand Down Expand Up @@ -442,7 +442,7 @@
"props": {
"accessibleWhenDisabled": {
"defaultValue": null,
"description": "Indicates whether the element should be focusable even when it is\n[`disabled`](https://ariakit.org/reference/focusable#disabled).\n\nThis is important when discoverability is a concern. For example:\n\n> A toolbar in an editor contains a set of special smart paste functions\nthat are disabled when the clipboard is empty or when the function is not\napplicable to the current content of the clipboard. It could be helpful to\nkeep the disabled buttons focusable if the ability to discover their\nfunctionality is primarily via their presence on the toolbar.\n\nLearn more on [Focusability of disabled\ncontrols](https://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#focusabilityofdisabledcontrols).\n\nLive examples:\n- [Combobox with tabs](https://ariakit.org/examples/combobox-tabs)",
"description": "Indicates whether the element should be focusable even when it is\n[`disabled`](https://ariakit.org/reference/focusable#disabled).\n\nThis is important when discoverability is a concern. For example:\n\n> A toolbar in an editor contains a set of special smart paste functions\nthat are disabled when the clipboard is empty or when the function is not\napplicable to the current content of the clipboard. It could be helpful to\nkeep the disabled buttons focusable if the ability to discover their\nfunctionality is primarily via their presence on the toolbar.\n\nLearn more on [Focusability of disabled\ncontrols](https://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#focusabilityofdisabledcontrols).\n\nLive examples:\n- [Combobox with Tabs](https://ariakit.org/examples/combobox-tabs)",
"name": "accessibleWhenDisabled",
"parent": {
"fileName": "welcome-ui/node_modules/@ariakit/react-core/cjs/focusable/focusable.d.ts",
Expand Down Expand Up @@ -818,7 +818,7 @@
"defaultValue": {
"value": "false"
},
"description": "Determines if the element is disabled. This sets the `aria-disabled`\nattribute accordingly, enabling support for all elements, including those\nthat don't support the native `disabled` attribute.\n\nThis feature can be combined with the\n[`accessibleWhenDisabled`](https://ariakit.org/reference/focusable#accessiblewhendisabled)\nprop to make disabled elements still accessible via keyboard.\n\n**Note**: For this prop to work, the\n[`focusable`](https://ariakit.org/reference/command#focusable) prop must be\nset to `true`, if it's not set by default.\n\nLive examples:\n- [Submenu](https://ariakit.org/examples/menu-nested)\n- [Combobox with tabs](https://ariakit.org/examples/combobox-tabs)\n- [Context Menu](https://ariakit.org/examples/menu-context-menu)",
"description": "Determines if the element is disabled. This sets the `aria-disabled`\nattribute accordingly, enabling support for all elements, including those\nthat don't support the native `disabled` attribute.\n\nThis feature can be combined with the\n[`accessibleWhenDisabled`](https://ariakit.org/reference/focusable#accessiblewhendisabled)\nprop to make disabled elements still accessible via keyboard.\n\n**Note**: For this prop to work, the\n[`focusable`](https://ariakit.org/reference/command#focusable) prop must be\nset to `true`, if it's not set by default.\n\nLive examples:\n- [Submenu](https://ariakit.org/examples/menu-nested)\n- [Combobox with Tabs](https://ariakit.org/examples/combobox-tabs)\n- [Context Menu](https://ariakit.org/examples/menu-context-menu)",
"name": "disabled",
"parent": {
"fileName": "welcome-ui/node_modules/@ariakit/react-core/cjs/focusable/focusable.d.ts",
Expand Down Expand Up @@ -1037,7 +1037,7 @@
"defaultValue": {
"value": "true"
},
"description": "Determines whether the dialog is modal. Modal dialogs have distinct states\nand behaviors:\n- The [`portal`](https://ariakit.org/reference/dialog#portal) and\n [`preventBodyScroll`](https://ariakit.org/reference/dialog#preventbodyscroll)\n props are set to `true`. They can still be manually set to `false`.\n- When using the [`Heading`](https://ariakit.org/reference/heading) or\n [`DialogHeading`](https://ariakit.org/reference/dialog-heading)\n components within the dialog, their level will be reset so they start\n with `h1`.\n- A visually hidden dismiss button will be rendered if the\n [`DialogDismiss`](https://ariakit.org/reference/dialog-dismiss) component\n hasn't been used. This allows screen reader users to close the dialog.\n- When the dialog is open, element tree outside it will be inert.\n\nLive examples:\n- [Combobox with tabs](https://ariakit.org/examples/combobox-tabs)\n- [Dialog with details &\n summary](https://ariakit.org/examples/dialog-details)\n- [Form with Select](https://ariakit.org/examples/form-select)\n- [Context menu](https://ariakit.org/examples/menu-context-menu)\n- [Responsive Popover](https://ariakit.org/examples/popover-responsive)",
"description": "Determines whether the dialog is modal. Modal dialogs have distinct states\nand behaviors:\n- The [`portal`](https://ariakit.org/reference/dialog#portal) and\n [`preventBodyScroll`](https://ariakit.org/reference/dialog#preventbodyscroll)\n props are set to `true`. They can still be manually set to `false`.\n- When using the [`Heading`](https://ariakit.org/reference/heading) or\n [`DialogHeading`](https://ariakit.org/reference/dialog-heading)\n components within the dialog, their level will be reset so they start\n with `h1`.\n- A visually hidden dismiss button will be rendered if the\n [`DialogDismiss`](https://ariakit.org/reference/dialog-dismiss) component\n hasn't been used. This allows screen reader users to close the dialog.\n- When the dialog is open, element tree outside it will be inert.\n\nLive examples:\n- [Combobox with Tabs](https://ariakit.org/examples/combobox-tabs)\n- [Dialog with details &\n summary](https://ariakit.org/examples/dialog-details)\n- [Form with Select](https://ariakit.org/examples/form-select)\n- [Context menu](https://ariakit.org/examples/menu-context-menu)\n- [Responsive Popover](https://ariakit.org/examples/popover-responsive)",
"name": "modal",
"parent": {
"fileName": "welcome-ui/node_modules/@ariakit/react-core/cjs/dialog/dialog.d.ts",
Expand Down Expand Up @@ -1444,6 +1444,40 @@
]
}
},
"unstable_treeSnapshotKey": {
"defaultValue": null,
"description": "@private",
"name": "unstable_treeSnapshotKey",
"parent": {
"fileName": "welcome-ui/node_modules/@ariakit/react-core/cjs/dialog/dialog.d.ts",
"name": "DialogOptions"
},
"declarations": [
{
"fileName": "welcome-ui/node_modules/@ariakit/react-core/cjs/dialog/dialog.d.ts",
"name": "DialogOptions"
}
],
"required": false,
"type": {
"name": "enum",
"raw": "string | number | boolean",
"value": [
{
"value": "string"
},
{
"value": "number"
},
{
"value": "false"
},
{
"value": "true"
}
]
}
},
"withBackdrop": {
"defaultValue": {
"value": false
Expand Down
6 changes: 3 additions & 3 deletions packages/Drawer/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@welcome-ui/drawer",
"version": "6.5.0",
"version": "6.6.0-alpha.0",
"description": "Customizable design system with react • styled-components • styled-system and ariakit.",
"main": "dist/index.js",
"module": "dist/index.mjs",
Expand Down Expand Up @@ -46,9 +46,9 @@
"url": "https://github.com/WTTJ/welcome-ui/issues"
},
"dependencies": {
"@ariakit/react": "0.4.3",
"@ariakit/react": "0.4.15",
"@welcome-ui/box": "^6.1.1",
"@welcome-ui/close-button": "^6.5.0",
"@welcome-ui/close-button": "^6.6.0-alpha.0",
"@welcome-ui/system": "^6.1.1",
"@welcome-ui/text": "^6.2.0",
"@welcome-ui/utils": "^6.4.0"
Expand Down
Loading

0 comments on commit 39d6983

Please sign in to comment.