From cd1b67478d70a80ceabb354846ca6b261afb41ef Mon Sep 17 00:00:00 2001 From: Balbina K <41303231+BalbinaK@users.noreply.github.com> Date: Thu, 9 Nov 2023 14:16:52 +0100 Subject: [PATCH 01/12] chore(crowdin-sync.yml): don't trigger on push to main & specify files to track (#109) Trigger only on push to next and if crowdin.yml or .po files change --- .github/workflows/crowdin-sync.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/crowdin-sync.yml b/.github/workflows/crowdin-sync.yml index f236bdcd..75df7a17 100644 --- a/.github/workflows/crowdin-sync.yml +++ b/.github/workflows/crowdin-sync.yml @@ -2,7 +2,11 @@ name: Crowdin Synchronisation on: push: - branches: [next, main] + branches: + - next + paths: + - "**.po" + - "crowdin.yml" jobs: synchronize-with-crowdin: From 9d95858ee60fc691b4493c67f6f6cddd3bd035a5 Mon Sep 17 00:00:00 2001 From: Dave Honneffer Date: Mon, 13 Nov 2023 10:45:19 +0100 Subject: [PATCH 02/12] fix: use new icons export to drop bundle size (#110) * Use new icons export to drop bundle size * Bump to latest icons --------- Co-authored-by: pramehra --- components/alert/w-alert.vue | 10 +- components/attention/w-attention.vue | 2 +- components/expandable/w-expandable.vue | 3 +- components/forms/w-affix.vue | 3 +- components/forms/w-select.vue | 3 +- components/forms/w-suffix.vue | 4 +- components/modal/w-modal.vue | 11 +- components/steps/w-step.vue | 2 +- dev/pages/Tabs.vue | 3 +- package.json | 4 +- pnpm-lock.yaml | 355 +++++++++++-------------- 11 files changed, 181 insertions(+), 219 deletions(-) diff --git a/components/alert/w-alert.vue b/components/alert/w-alert.vue index 801002b3..d9650938 100644 --- a/components/alert/w-alert.vue +++ b/components/alert/w-alert.vue @@ -3,12 +3,10 @@ import { computed } from "vue"; import { wExpandTransition } from "#generics"; import { createModel, modelProps } from "create-v-model"; import { alert as ccAlert } from "@warp-ds/css/component-classes"; -import { - IconAlertError16, - IconAlertSuccess16, - IconAlertWarning16, - IconAlertInfo16, -} from "@warp-ds/icons/vue"; +import IconAlertError16 from "@warp-ds/icons/vue/alert-error-16"; +import IconAlertSuccess16 from "@warp-ds/icons/vue/alert-success-16"; +import IconAlertWarning16 from "@warp-ds/icons/vue/alert-warning-16"; +import IconAlertInfo16 from "@warp-ds/icons/vue/alert-info-16"; const props = defineProps({ title: String, diff --git a/components/attention/w-attention.vue b/components/attention/w-attention.vue index 17cee280..3b8b8ecc 100644 --- a/components/attention/w-attention.vue +++ b/components/attention/w-attention.vue @@ -2,7 +2,7 @@ import { watch, computed, ref, onMounted, nextTick } from 'vue' import { attention as ccAttention } from '@warp-ds/css/component-classes' import { computePosition, flip, offset, shift, arrow } from '@floating-ui/dom' -import { IconClose16 } from "@warp-ds/icons/vue"; +import IconClose16 from "@warp-ds/icons/vue/close-16"; import { absentProp } from '#util' import { diff --git a/components/expandable/w-expandable.vue b/components/expandable/w-expandable.vue index 8ec3846f..658577b8 100644 --- a/components/expandable/w-expandable.vue +++ b/components/expandable/w-expandable.vue @@ -7,7 +7,8 @@ import { expandable as ccExpandable, box as ccBox, } from '@warp-ds/css/component-classes' -import { IconChevronDown16, IconChevronUp16 } from '@warp-ds/icons/vue' +import IconChevronDown16 from '@warp-ds/icons/vue/chevron-down-16' +import IconChevronUp16 from '@warp-ds/icons/vue/chevron-up-16' const props = defineProps({ title: String, diff --git a/components/forms/w-affix.vue b/components/forms/w-affix.vue index 4a323fa6..6cee8fc0 100644 --- a/components/forms/w-affix.vue +++ b/components/forms/w-affix.vue @@ -1,7 +1,8 @@ From 371617868f24def93d49ffc4a7eb01b48276c134 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Magnus=20H=C3=BCbner?= Date: Thu, 16 Nov 2023 14:53:25 +0100 Subject: [PATCH 05/12] fix: Misc a11y fixes for Slider (#108) * chore: Update warp-ds/core to use keydown acceleration in Slider * fix: Add prevent-acceleration prop to Slider * chore: Code cleanup in Slider * docs: Update Slider examples * docs: Add aria-valuetext to Slider examples * fix: Add aria-disabled attribute to Slider * docs: Add disabled example for Slider * fix: Update to warp-ds/core 1.0.2 to fix bug with keydown events affecting disabled Sliders --- components/slider/w-slider.vue | 37 ++-- dev/pages/Slider.vue | 46 ++++- pnpm-lock.yaml | 325 ++++++++++++++++++++------------- 3 files changed, 255 insertions(+), 153 deletions(-) diff --git a/components/slider/w-slider.vue b/components/slider/w-slider.vue index 4d0884ed..a7eb40ee 100644 --- a/components/slider/w-slider.vue +++ b/components/slider/w-slider.vue @@ -1,4 +1,8 @@ diff --git a/dev/pages/Slider.vue b/dev/pages/Slider.vue index 7be42791..40515184 100644 --- a/dev/pages/Slider.vue +++ b/dev/pages/Slider.vue @@ -2,19 +2,55 @@ import { ref } from 'vue' import { wSlider, wTextfield } from '#components' -const largeNumber = ref(30_000_000) +const smallNumber = ref(3); +const largeNumber = ref(300); +const extremeNumber = ref(300000); +const slowNumber = ref(30); +const disabledNumber = ref(30); diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 5c1af9e0..7c76b674 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1,9 +1,5 @@ lockfileVersion: '6.0' -settings: - autoInstallPeers: true - excludeLinksFromLockfile: false - dependencies: '@floating-ui/dom': specifier: ^1.5.1 @@ -81,7 +77,7 @@ devDependencies: version: 1.0.0 cz-conventional-changelog: specifier: ^3.3.0 - version: 3.3.0(typescript@5.2.2) + version: 3.3.0 drnm: specifier: ^0.9.0 version: 0.9.0 @@ -102,10 +98,10 @@ devDependencies: version: 0.6.8 unocss: specifier: ^0.56.0 - version: 0.56.0(postcss@8.4.31)(vite@4.4.9) + version: 0.56.0(vite@4.4.9) vite: specifier: ^4.4.9 - version: 4.4.9(@types/node@18.18.9) + version: 4.4.9 viteik: specifier: ^1.0.3 version: 1.0.3(@eik/rollup-plugin@4.0.50) @@ -303,13 +299,6 @@ packages: dependencies: regenerator-runtime: 0.13.11 - /@babel/runtime@7.23.2: - resolution: {integrity: sha512-mM8eg4yl5D6i3lu2QKPuPH4FArvJ8KhTofbE7jwMUv9KX5mBvwPAqnV3MlyBNqdp9RyRKP6Yck8TrfYrPvX3bg==} - engines: {node: '>=6.9.0'} - dependencies: - regenerator-runtime: 0.14.0 - dev: false - /@babel/template@7.22.5: resolution: {integrity: sha512-X7yV7eiwAxdj9k94NEylvbVHLiVG1nvzCV2EAowhxLTwODV1jl9UzZ48leOC0sH7OnuHrIkllaBgneUykIcZaw==} engines: {node: '>=6.9.0'} @@ -353,52 +342,55 @@ packages: dev: true optional: true - /@commitlint/config-validator@18.4.0: - resolution: {integrity: sha512-1y6qHMU3o4cYQSK+Y9EnmH6H1GRiwQGjnLIUOIKlekrmfc8MrMk1ByNmb8od4vK3qHJAaL/77/5n+1uyyIF5dA==} - engines: {node: '>=v18'} + /@commitlint/config-validator@17.4.4: + resolution: {integrity: sha512-bi0+TstqMiqoBAQDvdEP4AFh0GaKyLFlPPEObgI29utoKEYoPQTvF0EYqIwYYLEoJYhj5GfMIhPHJkTJhagfeg==} + engines: {node: '>=v14'} requiresBuild: true dependencies: - '@commitlint/types': 18.4.0 + '@commitlint/types': 17.4.4 ajv: 8.12.0 dev: true optional: true - /@commitlint/execute-rule@18.4.0: - resolution: {integrity: sha512-g013SWki6ZWhURBLOSXTaVQGWHdA0QlPJGiW4a+YpThezmJOemvc4LiKVpn13AjSKQ40QnmBqpBrxujOaSo+3A==} - engines: {node: '>=v18'} + /@commitlint/execute-rule@17.4.0: + resolution: {integrity: sha512-LIgYXuCSO5Gvtc0t9bebAMSwd68ewzmqLypqI2Kke1rqOqqDbMpYcYfoPfFlv9eyLIh4jocHWwCK5FS7z9icUA==} + engines: {node: '>=v14'} requiresBuild: true dev: true optional: true - /@commitlint/load@18.4.1(typescript@5.2.2): - resolution: {integrity: sha512-o/plBiPJQgbSq/4ipDpsq4HCmURjBAEjr1EO/p2falr3VhwV0WGXTvb8NlihgI8xtSyO6lHvtycrE535GMLQbA==} - engines: {node: '>=v18'} + /@commitlint/load@17.5.0: + resolution: {integrity: sha512-l+4W8Sx4CD5rYFsrhHH8HP01/8jEP7kKf33Xlx2Uk2out/UKoKPYMOIRcDH5ppT8UXLMV+x6Wm5osdRKKgaD1Q==} + engines: {node: '>=v14'} requiresBuild: true dependencies: - '@commitlint/config-validator': 18.4.0 - '@commitlint/execute-rule': 18.4.0 - '@commitlint/resolve-extends': 18.4.0 - '@commitlint/types': 18.4.0 - '@types/node': 18.18.9 + '@commitlint/config-validator': 17.4.4 + '@commitlint/execute-rule': 17.4.0 + '@commitlint/resolve-extends': 17.4.4 + '@commitlint/types': 17.4.4 + '@types/node': 20.4.2 chalk: 4.1.2 - cosmiconfig: 8.3.6(typescript@5.2.2) - cosmiconfig-typescript-loader: 5.0.0(@types/node@18.18.9)(cosmiconfig@8.3.6)(typescript@5.2.2) + cosmiconfig: 8.2.0 + cosmiconfig-typescript-loader: 4.3.0(@types/node@20.4.2)(cosmiconfig@8.2.0)(ts-node@10.9.1)(typescript@5.1.6) lodash.isplainobject: 4.0.6 lodash.merge: 4.6.2 lodash.uniq: 4.5.0 resolve-from: 5.0.0 + ts-node: 10.9.1(@types/node@20.4.2)(typescript@5.1.6) + typescript: 5.1.6 transitivePeerDependencies: - - typescript + - '@swc/core' + - '@swc/wasm' dev: true optional: true - /@commitlint/resolve-extends@18.4.0: - resolution: {integrity: sha512-qhgU6ach+S6sJMD9NjCYiEycOObGhxzWQLQzqlScJCv9zkPs15Bg0ffLXTQ3z7ipXv46XEKYMnSJzjLRw2Tlkg==} - engines: {node: '>=v18'} + /@commitlint/resolve-extends@17.4.4: + resolution: {integrity: sha512-znXr1S0Rr8adInptHw0JeLgumS11lWbk5xAWFVno+HUFVN45875kUtqjrI6AppmD3JI+4s0uZlqqlkepjJd99A==} + engines: {node: '>=v14'} requiresBuild: true dependencies: - '@commitlint/config-validator': 18.4.0 - '@commitlint/types': 18.4.0 + '@commitlint/config-validator': 17.4.4 + '@commitlint/types': 17.4.4 import-fresh: 3.3.0 lodash.mergewith: 4.6.2 resolve-from: 5.0.0 @@ -406,15 +398,24 @@ packages: dev: true optional: true - /@commitlint/types@18.4.0: - resolution: {integrity: sha512-MKeaFxt0I9fhqUb2E+YIzX/gZtmkuodJET/XKiZIMvXUff8Ee4Ih86eLg+yAm2jf1pwGBmU02uNOp0y094w2Uw==} - engines: {node: '>=v18'} + /@commitlint/types@17.4.4: + resolution: {integrity: sha512-amRN8tRLYOsxRr6mTnGGGvB5EmW/4DDjLMgiwK3CCVEmN6Sr/6xePGEpWaspKkckILuUORCwe6VfDBw6uj4axQ==} + engines: {node: '>=v14'} requiresBuild: true dependencies: chalk: 4.1.2 dev: true optional: true + /@cspotcode/source-map-support@0.8.1: + resolution: {integrity: sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==} + engines: {node: '>=12'} + requiresBuild: true + dependencies: + '@jridgewell/trace-mapping': 0.3.9 + dev: true + optional: true + /@eik/cli@2.0.22: resolution: {integrity: sha512-76Xfkd/+anI3C+LdnDeQtnG37YnZrz+zyTFw3t2RnD6PcynAv6+ZeTKgv6GlljCNGOQLb/na0HGuR6mwZmTgzQ==} hasBin: true @@ -449,7 +450,7 @@ packages: resolution: {integrity: sha512-h9z1jyz0ueOwNfAPnwjJk3JGCMdm/3TFqGiGi3KqLgx3fhHgKOLmZa9fqGgX0E8arCgN2YavJwHiBCsIKTqEdQ==} dependencies: ajv: 8.12.0 - ajv-formats: 2.1.1(ajv@8.12.0) + ajv-formats: 2.1.1 glob: 8.1.0 is-glob: 4.0.3 mime-types: 2.1.35 @@ -1145,6 +1146,13 @@ packages: engines: {node: '>=6.0.0'} dev: true + /@jridgewell/resolve-uri@3.1.1: + resolution: {integrity: sha512-dSYZh7HhCDtCKm4QakX0xFpsRDqjjtZf/kjI/v3T3Nwt5r8/qz/M19F9ySyOqU94SXBmeG9ttTul+YnR4LOxFA==} + engines: {node: '>=6.0.0'} + requiresBuild: true + dev: true + optional: true + /@jridgewell/set-array@1.1.2: resolution: {integrity: sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==} engines: {node: '>=6.0.0'} @@ -1165,6 +1173,15 @@ packages: '@jridgewell/sourcemap-codec': 1.4.14 dev: true + /@jridgewell/trace-mapping@0.3.9: + resolution: {integrity: sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==} + requiresBuild: true + dependencies: + '@jridgewell/resolve-uri': 3.1.1 + '@jridgewell/sourcemap-codec': 1.4.15 + dev: true + optional: true + /@lingui/babel-plugin-extract-messages@4.3.0: resolution: {integrity: sha512-X23evX574Pv5wRpg9HytCuE0dsRaFi0kkrj8uQC++Dk1Iti0ptRFeuMU4jxINlfa972Ri3GF6ckGQ+Req3drYg==} engines: {node: '>=16.0.0'} @@ -1232,7 +1249,7 @@ packages: resolution: {integrity: sha512-8zTuIXJo5Qvjato7LWE6Q4RHiO4LjTBVOoRlqfOGYDp8VZ9w9P7Z7IJgxI7UP5Z1wiuEvnMdVF9I1C4acqXGlQ==} engines: {node: '>=16.0.0'} dependencies: - '@babel/runtime': 7.23.2 + '@babel/runtime': 7.22.6 '@lingui/message-utils': 4.5.0 unraw: 3.0.0 dev: false @@ -1613,6 +1630,30 @@ packages: resolution: {integrity: sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA==} dev: true + /@tsconfig/node10@1.0.9: + resolution: {integrity: sha512-jNsYVVxU8v5g43Erja32laIDHXeoNvFEpX33OK4d6hljo3jDhCBDhx5dhCCTMWUojscpAagGiRkBKxpdl9fxqA==} + requiresBuild: true + dev: true + optional: true + + /@tsconfig/node12@1.0.11: + resolution: {integrity: sha512-cqefuRsh12pWyGsIoBKJA9luFu3mRxCA+ORZvA4ktLSzIuCUtWVxGIuXigEwO5/ywWFMZ2QEGKWvkZG1zDMTag==} + requiresBuild: true + dev: true + optional: true + + /@tsconfig/node14@1.0.3: + resolution: {integrity: sha512-ysT8mhdixWK6Hw3i1V2AeRqZ5WfXg1G43mqoYlM2nc6388Fq5jcXyr5mRsqViLx/GJYdoL0bfXD8nmF+Zn/Iow==} + requiresBuild: true + dev: true + optional: true + + /@tsconfig/node16@1.0.4: + resolution: {integrity: sha512-vxhUy4J8lyeyinH7Azl1pdd43GJhZH/tP2weN8TntQblOY+A0XbT8DJk1/oCPuOOyg/Ja757rG0CgHcWC8OfMA==} + requiresBuild: true + dev: true + optional: true + /@types/chai-subset@1.3.3: resolution: {integrity: sha512-frBecisrNGz+F4T6bcc+NLeolfiojh5FxW2klu669+8BARtyQv2C/GkNW6FUodVe4BroGMP/wER/YDGc7rEllw==} dependencies: @@ -1659,13 +1700,6 @@ packages: resolution: {integrity: sha512-jhuKLIRrhvCPLqwPcx6INqmKeiA5EWrsCOPhrlFSrbrmU4ZMPjj5Ul/oLCMDO98XRUIwVm78xICz4EPCektzeQ==} dev: true - /@types/node@18.18.9: - resolution: {integrity: sha512-0f5klcuImLnG4Qreu9hPj/rEfFq6YRc5n2mAjSsH+ec/mJL+3voBH0+8T7o8RpFjH7ovc+TRsL/c7OYIQsPTfQ==} - requiresBuild: true - dependencies: - undici-types: 5.26.5 - dev: true - /@types/node@20.4.2: resolution: {integrity: sha512-Dd0BYtWgnWJKwO1jkmTrzofjK2QXXcai0dmtzvIBhcA+RsG5h8R3xlyta0kGOZRNfL9GuRtb1knmPEhQrePCEw==} dev: true @@ -1707,7 +1741,7 @@ packages: '@unocss/core': 0.56.0 '@unocss/reset': 0.56.0 '@unocss/vite': 0.56.0(vite@4.4.9) - vite: 4.4.9(@types/node@18.18.9) + vite: 4.4.9 transitivePeerDependencies: - rollup dev: true @@ -1774,18 +1808,16 @@ packages: sirv: 2.0.3 dev: true - /@unocss/postcss@0.56.0(postcss@8.4.31): + /@unocss/postcss@0.56.0: resolution: {integrity: sha512-4wYpu8u8fjEeDvpA7m7Sq2wdIcXdoRSuu2HG/co7uqdXJJD6dQtOgI5Q0ooyPhWNx4w3zBCfaADBxfIcWsZotg==} engines: {node: '>=14'} - peerDependencies: - postcss: ^8.4.21 dependencies: '@unocss/config': 0.56.0 '@unocss/core': 0.56.0 css-tree: 2.3.1 fast-glob: 3.3.1 magic-string: 0.30.3 - postcss: 8.4.31 + postcss: 8.4.30 dev: true /@unocss/preset-attributify@0.56.0: @@ -1918,7 +1950,7 @@ packages: chokidar: 3.5.3 fast-glob: 3.3.1 magic-string: 0.30.3 - vite: 4.4.9(@types/node@18.18.9) + vite: 4.4.9 transitivePeerDependencies: - rollup dev: true @@ -1930,7 +1962,7 @@ packages: vite: ^4.0.0 vue: ^3.2.25 dependencies: - vite: 4.4.9(@types/node@18.18.9) + vite: 4.4.9 vue: 3.3.4 dev: true @@ -2160,10 +2192,8 @@ packages: indent-string: 5.0.0 dev: true - /ajv-formats@2.1.1(ajv@8.12.0): + /ajv-formats@2.1.1: resolution: {integrity: sha512-Wx0Kx52hxE7C18hkMEggYlEifqWZtYaRgouJor+WMdPnQyEK13vgEWyVNup7SoeeoLMsr4kf5h6dOW11I15MUA==} - peerDependencies: - ajv: ^8.0.0 peerDependenciesMeta: ajv: optional: true @@ -2248,6 +2278,12 @@ packages: picomatch: 2.3.1 dev: true + /arg@4.1.3: + resolution: {integrity: sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==} + requiresBuild: true + dev: true + optional: true + /argparse@2.0.1: resolution: {integrity: sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==} dev: true @@ -2515,7 +2551,7 @@ packages: normalize-path: 3.0.0 readdirp: 3.5.0 optionalDependencies: - fsevents: 2.3.3 + fsevents: 2.3.2 dev: true /chokidar@3.5.3: @@ -2530,7 +2566,7 @@ packages: normalize-path: 3.0.0 readdirp: 3.6.0 optionalDependencies: - fsevents: 2.3.3 + fsevents: 2.3.2 dev: true /chownr@2.0.0: @@ -2664,13 +2700,13 @@ packages: engines: {node: '>=14'} dev: true - /commitizen@4.3.0(typescript@5.2.2): + /commitizen@4.3.0: resolution: {integrity: sha512-H0iNtClNEhT0fotHvGV3E9tDejDeS04sN1veIebsKYGMuGscFaswRoYJKmT3eW85eIJAs0F28bG2+a/9wCOfPw==} engines: {node: '>= 12'} hasBin: true dependencies: cachedir: 2.3.0 - cz-conventional-changelog: 3.3.0(typescript@5.2.2) + cz-conventional-changelog: 3.3.0 dedent: 0.7.0 detect-indent: 6.1.0 find-node-modules: 2.1.3 @@ -2684,7 +2720,8 @@ packages: strip-bom: 4.0.0 strip-json-comments: 3.1.1 transitivePeerDependencies: - - typescript + - '@swc/core' + - '@swc/wasm' dev: true /compare-func@2.0.0: @@ -2787,19 +2824,20 @@ packages: resolution: {integrity: sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==} dev: true - /cosmiconfig-typescript-loader@5.0.0(@types/node@18.18.9)(cosmiconfig@8.3.6)(typescript@5.2.2): - resolution: {integrity: sha512-+8cK7jRAReYkMwMiG+bxhcNKiHJDM6bR9FD/nGBXOWdMLuYawjF5cGrtLilJ+LGd3ZjCXnJjR5DkfWPoIVlqJA==} - engines: {node: '>=v16'} + /cosmiconfig-typescript-loader@4.3.0(@types/node@20.4.2)(cosmiconfig@8.2.0)(ts-node@10.9.1)(typescript@5.1.6): + resolution: {integrity: sha512-NTxV1MFfZDLPiBMjxbHRwSh5LaLcPMwNdCutmnHJCKoVnlvldPWlllonKwrsRJ5pYZBIBGRWWU2tfvzxgeSW5Q==} + engines: {node: '>=12', npm: '>=6'} requiresBuild: true peerDependencies: '@types/node': '*' - cosmiconfig: '>=8.2' - typescript: '>=4' + cosmiconfig: '>=7' + ts-node: '>=10' + typescript: '>=3' dependencies: - '@types/node': 18.18.9 - cosmiconfig: 8.3.6(typescript@5.2.2) - jiti: 1.21.0 - typescript: 5.2.2 + '@types/node': 20.4.2 + cosmiconfig: 8.2.0 + ts-node: 10.9.1(@types/node@20.4.2)(typescript@5.1.6) + typescript: 5.1.6 dev: true optional: true @@ -2824,21 +2862,9 @@ packages: path-type: 4.0.0 dev: true - /cosmiconfig@8.3.6(typescript@5.2.2): - resolution: {integrity: sha512-kcZ6+W5QzcJ3P1Mt+83OUv/oHFqZHIx8DuxG6eZ5RGMERoLqp4BuGjhHLYGK+Kf5XVkQvqBSmAy/nGWN3qDgEA==} - engines: {node: '>=14'} + /create-require@1.1.1: + resolution: {integrity: sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==} requiresBuild: true - peerDependencies: - typescript: '>=4.9.5' - peerDependenciesMeta: - typescript: - optional: true - dependencies: - import-fresh: 3.3.0 - js-yaml: 4.1.0 - parse-json: 5.2.0 - path-type: 4.0.0 - typescript: 5.2.2 dev: true optional: true @@ -2878,20 +2904,21 @@ packages: resolution: {integrity: sha512-I7K1Uu0MBPzaFKg4nI5Q7Vs2t+3gWWW648spaF+Rg7pI9ds18Ugn+lvg4SHczUdKlHI5LWBXyqfS8+DufyBsgQ==} dev: true - /cz-conventional-changelog@3.3.0(typescript@5.2.2): + /cz-conventional-changelog@3.3.0: resolution: {integrity: sha512-U466fIzU5U22eES5lTNiNbZ+d8dfcHcssH4o7QsdWaCcRs/feIPCxKYSWkYBNs5mny7MvEfwpTLWjvbm94hecw==} engines: {node: '>= 10'} dependencies: chalk: 2.4.2 - commitizen: 4.3.0(typescript@5.2.2) + commitizen: 4.3.0 conventional-commit-types: 3.0.0 lodash.map: 4.6.0 longest: 2.0.1 word-wrap: 1.2.3 optionalDependencies: - '@commitlint/load': 18.4.1(typescript@5.2.2) + '@commitlint/load': 17.5.0 transitivePeerDependencies: - - typescript + - '@swc/core' + - '@swc/wasm' dev: true /date-fns@2.28.0: @@ -3007,6 +3034,13 @@ packages: engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dev: true + /diff@4.0.2: + resolution: {integrity: sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==} + engines: {node: '>=0.3.1'} + requiresBuild: true + dev: true + optional: true + /dir-glob@3.0.1: resolution: {integrity: sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==} engines: {node: '>=8'} @@ -3501,8 +3535,8 @@ packages: /fs.realpath@1.0.0: resolution: {integrity: sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==} - /fsevents@2.3.3: - resolution: {integrity: sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==} + /fsevents@2.3.2: + resolution: {integrity: sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==} engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} os: [darwin] requiresBuild: true @@ -4236,13 +4270,6 @@ packages: hasBin: true dev: true - /jiti@1.21.0: - resolution: {integrity: sha512-gFqAIbuKyyso/3G2qhiO2OM6shY6EPP/R0+mkDbyspxKazh8BXDC5FiFsUjlczgdNz/vfra0da2y+aHrusLG/Q==} - hasBin: true - requiresBuild: true - dev: true - optional: true - /js-beautify@1.14.9: resolution: {integrity: sha512-coM7xq1syLcMyuVGyToxcj2AlzhkDjmfklL8r0JgJ7A76wyGMpJ1oA35mr4APdYNO/o/4YY8H54NQIJzhMbhBg==} engines: {node: '>=12'} @@ -4547,6 +4574,12 @@ packages: semver: 6.3.1 dev: true + /make-error@1.3.6: + resolution: {integrity: sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==} + requiresBuild: true + dev: true + optional: true + /map-obj@1.0.1: resolution: {integrity: sha512-7N/q3lyZ+LVCp7PzuxrJr4KMbBE2hW7BT7YNia330OFxIf4d3r5zVpicP2650l7CPN6RM9zOJRl3NGpqSiw3Eg==} engines: {node: '>=0.10.0'} @@ -4834,12 +4867,6 @@ packages: hasBin: true dev: true - /nanoid@3.3.7: - resolution: {integrity: sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==} - engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} - hasBin: true - dev: true - /neo-async@2.6.2: resolution: {integrity: sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==} dev: true @@ -5356,11 +5383,11 @@ packages: source-map-js: 1.0.2 dev: true - /postcss@8.4.31: - resolution: {integrity: sha512-PS08Iboia9mts/2ygV3eLpY5ghnUcfLV/EXTOW1E2qYxJKGGBUtNjN76FYHnMs36RmARn41bC0AZmn+rR0OVpQ==} + /postcss@8.4.30: + resolution: {integrity: sha512-7ZEao1g4kd68l97aWG/etQKPKq07us0ieSZ2TnFDk11i0ZfDW2AwKHYU8qv4MZKqN2fdBfg+7q0ES06UA73C1g==} engines: {node: ^10 || ^12 || >=14} dependencies: - nanoid: 3.3.7 + nanoid: 3.3.6 picocolors: 1.0.0 source-map-js: 1.0.2 dev: true @@ -5535,10 +5562,6 @@ packages: /regenerator-runtime@0.13.11: resolution: {integrity: sha512-kY1AZVr2Ra+t+piVaJ4gxaFaReZVH40AKNo7UCX6W+dEwBo/2oZJzqfuN1qLq1oL45o56cPaTXELwrTh8Fpggg==} - /regenerator-runtime@0.14.0: - resolution: {integrity: sha512-srw17NI0TUWHuGa5CFGGmhfNIeja30WMBfbslPNhf6JrqQlLN5gcrvig1oqPxiVaXb0oW0XRKtH6Nngs5lKCIA==} - dev: false - /registry-auth-token@5.0.2: resolution: {integrity: sha512-o/3ikDxtXaA59BmZuZrJZDJv8NMDGSj+6j6XaeBmHw8eY1i1qd9+6H+LjVvQXx3HN6aRCGa1cUdJ9RaJZUugnQ==} engines: {node: '>=14'} @@ -5635,7 +5658,7 @@ packages: engines: {node: '>=14.18.0', npm: '>=8.0.0'} hasBin: true optionalDependencies: - fsevents: 2.3.3 + fsevents: 2.3.2 dev: true /run-async@2.4.1: @@ -6160,6 +6183,39 @@ packages: engines: {node: '>=8'} dev: true + /ts-node@10.9.1(@types/node@20.4.2)(typescript@5.1.6): + resolution: {integrity: sha512-NtVysVPkxxrwFGUUxGYhfux8k78pQB3JqYBXlLRZgdGUqTO5wU/UyHop5p70iEbGhB7q5KmiZiU0Y3KlJrScEw==} + hasBin: true + requiresBuild: true + peerDependencies: + '@swc/core': '>=1.2.50' + '@swc/wasm': '>=1.2.50' + '@types/node': '*' + typescript: '>=2.7' + peerDependenciesMeta: + '@swc/core': + optional: true + '@swc/wasm': + optional: true + dependencies: + '@cspotcode/source-map-support': 0.8.1 + '@tsconfig/node10': 1.0.9 + '@tsconfig/node12': 1.0.11 + '@tsconfig/node14': 1.0.3 + '@tsconfig/node16': 1.0.4 + '@types/node': 20.4.2 + acorn: 8.10.0 + acorn-walk: 8.2.0 + arg: 4.1.3 + create-require: 1.1.1 + diff: 4.0.2 + make-error: 1.3.6 + typescript: 5.1.6 + v8-compile-cache-lib: 3.0.1 + yn: 3.1.1 + dev: true + optional: true + /tslib@1.14.1: resolution: {integrity: sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==} dev: true @@ -6212,10 +6268,11 @@ packages: engines: {node: '>=14.16'} dev: true - /typescript@5.2.2: - resolution: {integrity: sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==} + /typescript@5.1.6: + resolution: {integrity: sha512-zaWCozRZ6DLEWAWFrVDz1H6FVXzUSfTy5FUMWsQlU8Ym5JP9eO4xkTIROFCQvhQf61z6O/G6ugw3SgAnvvm+HA==} engines: {node: '>=14.17'} hasBin: true + requiresBuild: true dev: true optional: true @@ -6245,11 +6302,6 @@ packages: mlly: 1.4.0 dev: true - /undici-types@5.26.5: - resolution: {integrity: sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==} - requiresBuild: true - dev: true - /undici@5.23.0: resolution: {integrity: sha512-1D7w+fvRsqlQ9GscLBwcAJinqcZGHUKjbOmXdlE/v8BvEGXjeWAax+341q44EuTcHXXnfyKNbKRq4Lg7OzhMmg==} engines: {node: '>=14.0'} @@ -6306,7 +6358,7 @@ packages: engines: {node: '>= 10.0.0'} dev: true - /unocss@0.56.0(postcss@8.4.31)(vite@4.4.9): + /unocss@0.56.0(vite@4.4.9): resolution: {integrity: sha512-Ge0lMi1zYL2z/NCv0OMeYMUeLsjQGNeohSc/3qumEtGhBNiGrF6sVX80BnJ99fAFsn80nxJepWbCApUmZ/2tJA==} engines: {node: '>=14'} peerDependencies: @@ -6322,7 +6374,7 @@ packages: '@unocss/cli': 0.56.0 '@unocss/core': 0.56.0 '@unocss/extractor-arbitrary-variants': 0.56.0 - '@unocss/postcss': 0.56.0(postcss@8.4.31) + '@unocss/postcss': 0.56.0 '@unocss/preset-attributify': 0.56.0 '@unocss/preset-icons': 0.56.0 '@unocss/preset-mini': 0.56.0 @@ -6338,9 +6390,8 @@ packages: '@unocss/transformer-directives': 0.56.0 '@unocss/transformer-variant-group': 0.56.0 '@unocss/vite': 0.56.0(vite@4.4.9) - vite: 4.4.9(@types/node@18.18.9) + vite: 4.4.9 transitivePeerDependencies: - - postcss - rollup - supports-color dev: true @@ -6379,6 +6430,12 @@ packages: resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==} dev: true + /v8-compile-cache-lib@3.0.1: + resolution: {integrity: sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg==} + requiresBuild: true + dev: true + optional: true + /validate-npm-package-license@3.0.4: resolution: {integrity: sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==} dependencies: @@ -6446,7 +6503,7 @@ packages: - terser dev: true - /vite@4.4.9(@types/node@18.18.9): + /vite@4.4.9: resolution: {integrity: sha512-2mbUn2LlUmNASWwSCNSJ/EG2HuSRTnVNaydp6vMCm5VIqJsjMfbIWtbH2kDuwUVW5mMUKKZvGPX/rqeqVvv1XA==} engines: {node: ^14.18.0 || >=16.0.0} hasBin: true @@ -6474,12 +6531,11 @@ packages: terser: optional: true dependencies: - '@types/node': 18.18.9 esbuild: 0.18.20 postcss: 8.4.29 rollup: 3.28.1 optionalDependencies: - fsevents: 2.3.3 + fsevents: 2.3.2 dev: true /vite@4.4.9(@types/node@20.4.2): @@ -6515,7 +6571,7 @@ packages: postcss: 8.4.29 rollup: 3.28.1 optionalDependencies: - fsevents: 2.3.3 + fsevents: 2.3.2 dev: true /viteik@1.0.3(@eik/rollup-plugin@4.0.50): @@ -6787,6 +6843,13 @@ packages: yargs-parser: 21.1.1 dev: true + /yn@3.1.1: + resolution: {integrity: sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==} + engines: {node: '>=6'} + requiresBuild: true + dev: true + optional: true + /yocto-queue@0.1.0: resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==} engines: {node: '>=10'} @@ -6800,3 +6863,7 @@ packages: /zwitch@2.0.4: resolution: {integrity: sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A==} dev: true + +settings: + autoInstallPeers: true + excludeLinksFromLockfile: false From 9bec21889f9a95ee859239da5a3b760c806b4f39 Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Thu, 16 Nov 2023 13:54:00 +0000 Subject: [PATCH 06/12] chore(release): 1.2.1-next.2 [skip ci] ## [1.2.1-next.2](https://github.com/warp-ds/vue/compare/v1.2.1-next.1...v1.2.1-next.2) (2023-11-16) ### Bug Fixes * Misc a11y fixes for Slider ([#108](https://github.com/warp-ds/vue/issues/108)) ([3716178](https://github.com/warp-ds/vue/commit/371617868f24def93d49ffc4a7eb01b48276c134)) --- CHANGELOG.md | 7 +++++++ package.json | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d254d33c..93eb343c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +## [1.2.1-next.2](https://github.com/warp-ds/vue/compare/v1.2.1-next.1...v1.2.1-next.2) (2023-11-16) + + +### Bug Fixes + +* Misc a11y fixes for Slider ([#108](https://github.com/warp-ds/vue/issues/108)) ([3716178](https://github.com/warp-ds/vue/commit/371617868f24def93d49ffc4a7eb01b48276c134)) + ## [1.2.1-next.1](https://github.com/warp-ds/vue/compare/v1.2.0...v1.2.1-next.1) (2023-11-13) diff --git a/package.json b/package.json index 7ac8ed17..1bc57099 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@warp-ds/vue", "repository": "git@github.com:warp-ds/vue.git", - "version": "1.2.1-next.1", + "version": "1.2.1-next.2", "description": "Warp components for Vue 3", "type": "module", "exports": { From 9b282ceeb7e1fb11976c80a3bff5356384388890 Mon Sep 17 00:00:00 2001 From: Balbina K <41303231+BalbinaK@users.noreply.github.com> Date: Fri, 17 Nov 2023 09:26:57 +0100 Subject: [PATCH 07/12] docs(textfield): add aria-labels to affix buttons with icons (#112) --- dev/pages/TextField.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dev/pages/TextField.vue b/dev/pages/TextField.vue index d7d9d335..e7714044 100644 --- a/dev/pages/TextField.vue +++ b/dev/pages/TextField.vue @@ -20,7 +20,7 @@ const moneyMask = { numeral: true, numeralPositiveOnly: true, numeralIntegerScal - + @@ -32,14 +32,14 @@ const moneyMask = { numeral: true, numeralPositiveOnly: true, numeralIntegerScal - + - + @@ -57,7 +57,7 @@ const moneyMask = { numeral: true, numeralPositiveOnly: true, numeralIntegerScal - + From b62431240b818f632ca6fe479ed8c599cbb924d7 Mon Sep 17 00:00:00 2001 From: Balbina K <41303231+BalbinaK@users.noreply.github.com> Date: Thu, 23 Nov 2023 12:42:00 +0100 Subject: [PATCH 08/12] chore(deps): update @warp-ds/css to 1.4.1 (#114) --- package.json | 2 +- pnpm-lock.yaml | 122 ++++++++++++++++++++++++++----------------------- 2 files changed, 67 insertions(+), 57 deletions(-) diff --git a/package.json b/package.json index 1bc57099..82af36a5 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "@floating-ui/dom": "^1.5.1", "@lingui/core": "^4.3.0", "@warp-ds/core": "^1.0.2", - "@warp-ds/css": "^1.3.0", + "@warp-ds/css": "^1.4.1", "@warp-ds/icons": "1.2.0", "@warp-ds/uno": "^1.1.0", "create-v-model": "^2.2.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 7c76b674..879bbcce 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1,5 +1,9 @@ lockfileVersion: '6.0' +settings: + autoInstallPeers: true + excludeLinksFromLockfile: false + dependencies: '@floating-ui/dom': specifier: ^1.5.1 @@ -11,8 +15,8 @@ dependencies: specifier: ^1.0.2 version: 1.0.2 '@warp-ds/css': - specifier: ^1.3.0 - version: 1.3.0 + specifier: ^1.4.1 + version: 1.4.1 '@warp-ds/icons': specifier: 1.2.0 version: 1.2.0 @@ -98,10 +102,10 @@ devDependencies: version: 0.6.8 unocss: specifier: ^0.56.0 - version: 0.56.0(vite@4.4.9) + version: 0.56.0(postcss@8.4.30)(vite@4.4.9) vite: specifier: ^4.4.9 - version: 4.4.9 + version: 4.4.9(@types/node@20.4.2) viteik: specifier: ^1.0.3 version: 1.0.3(@eik/rollup-plugin@4.0.50) @@ -450,7 +454,7 @@ packages: resolution: {integrity: sha512-h9z1jyz0ueOwNfAPnwjJk3JGCMdm/3TFqGiGi3KqLgx3fhHgKOLmZa9fqGgX0E8arCgN2YavJwHiBCsIKTqEdQ==} dependencies: ajv: 8.12.0 - ajv-formats: 2.1.1 + ajv-formats: 2.1.1(ajv@8.12.0) glob: 8.1.0 is-glob: 4.0.3 mime-types: 2.1.35 @@ -1164,7 +1168,6 @@ packages: /@jridgewell/sourcemap-codec@1.4.15: resolution: {integrity: sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==} - dev: true /@jridgewell/trace-mapping@0.3.18: resolution: {integrity: sha512-w+niJYzMHdd7USdiH2U6869nqhD2nbfZXND5Yp93qIbEmnDNk7PD48o+YchRVpzMU7M6jVCbenTR7PA1FLQ9pA==} @@ -1741,7 +1744,7 @@ packages: '@unocss/core': 0.56.0 '@unocss/reset': 0.56.0 '@unocss/vite': 0.56.0(vite@4.4.9) - vite: 4.4.9 + vite: 4.4.9(@types/node@20.4.2) transitivePeerDependencies: - rollup dev: true @@ -1788,6 +1791,10 @@ packages: resolution: {integrity: sha512-KpaEMCg5XnTK7aQRgwNWoPCAFLEmPGjw+OSZWuMtkGvMr4RwDAVUAqPdGyGOavKMyWs+Is+lxXL5NHy9nhZ2oA==} dev: true + /@unocss/core@0.57.7: + resolution: {integrity: sha512-1d36M0CV3yC80J0pqOa5rH1BX6g2iZdtKmIb3oSBN4AWnMCSrrJEPBrUikyMq2TEQTrYWJIVDzv5A9hBUat3TA==} + dev: false + /@unocss/extractor-arbitrary-variants@0.52.7: resolution: {integrity: sha512-nJ4iE7nIRpoOIQfD8S58yG4qJd6AhVPEfEOf7ksX1u8xLf71rrBIojwraRXvv7aPqNdZiWvXdh/znpA/QC5b9w==} dependencies: @@ -1800,6 +1807,12 @@ packages: '@unocss/core': 0.56.0 dev: true + /@unocss/extractor-arbitrary-variants@0.57.7: + resolution: {integrity: sha512-JdyhPlsgS0x4zoF8WYXDcusPcpU4ysE6Rkkit4a9+xUZEvg7vy7InH6PQ8dL8B9oY7pbxF7G6eFguUDpv9xx4Q==} + dependencies: + '@unocss/core': 0.57.7 + dev: false + /@unocss/inspector@0.56.0: resolution: {integrity: sha512-YGIyDe0eDzf0XhIHZRxZFV4xGKIA8jGBQ/rOF9k32Z8hyJ3jdJYf7s/ckA6s1kYxFq4qFmznylWeuh8JSUHeMg==} dependencies: @@ -1808,9 +1821,11 @@ packages: sirv: 2.0.3 dev: true - /@unocss/postcss@0.56.0: + /@unocss/postcss@0.56.0(postcss@8.4.30): resolution: {integrity: sha512-4wYpu8u8fjEeDvpA7m7Sq2wdIcXdoRSuu2HG/co7uqdXJJD6dQtOgI5Q0ooyPhWNx4w3zBCfaADBxfIcWsZotg==} engines: {node: '>=14'} + peerDependencies: + postcss: ^8.4.21 dependencies: '@unocss/config': 0.56.0 '@unocss/core': 0.56.0 @@ -1851,6 +1866,14 @@ packages: '@unocss/rule-utils': 0.56.0 dev: true + /@unocss/preset-mini@0.57.7: + resolution: {integrity: sha512-YPmmh+ZIg4J7/nPMfvzD1tOfUFD+8KEFXX9ISRteooflYeosn2YytGW66d/sq97AZos9N630FJ//DvPD2wfGwA==} + dependencies: + '@unocss/core': 0.57.7 + '@unocss/extractor-arbitrary-variants': 0.57.7 + '@unocss/rule-utils': 0.57.7 + dev: false + /@unocss/preset-tagify@0.56.0: resolution: {integrity: sha512-8FBHa+yPEFQ26BcqgBUrlLX7ThoMPRbH2AjQCk0RpgVhhy6OBweOFXmE0FhcOpNnM6DJadA6vlp3bTXZ0epqVA==} dependencies: @@ -1899,6 +1922,14 @@ packages: '@unocss/core': 0.56.0 dev: true + /@unocss/rule-utils@0.57.7: + resolution: {integrity: sha512-gLqbKTIetvRynLkhonu1znr+bmWnw+Cl3dFVNgZPGjiqGHd78PGS0gXQKvzuyN0iO2ADub1A7GlCWs826iEHjA==} + engines: {node: '>=14'} + dependencies: + '@unocss/core': 0.57.7 + magic-string: 0.30.5 + dev: false + /@unocss/scope@0.56.0: resolution: {integrity: sha512-zGUxAhHh04cqzBgfsAFjQg4xsna+3Y9ST1G/Lcs3CNzm9GC/SSPwcNzFel+r75Wtx/2WlhjmWCnK5gOzRR3l6Q==} dev: true @@ -1950,7 +1981,7 @@ packages: chokidar: 3.5.3 fast-glob: 3.3.1 magic-string: 0.30.3 - vite: 4.4.9 + vite: 4.4.9(@types/node@20.4.2) transitivePeerDependencies: - rollup dev: true @@ -1962,7 +1993,7 @@ packages: vite: ^4.0.0 vue: ^3.2.25 dependencies: - vite: 4.4.9 + vite: 4.4.9(@types/node@20.4.2) vue: 3.3.4 dev: true @@ -2111,11 +2142,11 @@ packages: '@floating-ui/dom': 0.5.4 dev: false - /@warp-ds/css@1.3.0: - resolution: {integrity: sha512-RFq9rqsRz581RB3/VfeDIebGDGbjKDbARqTSPP1tOBjUo/+mBJ80Z1RP7DV0Q3bUi+5tAz8TuPBCZcoQqToSxw==} + /@warp-ds/css@1.4.1: + resolution: {integrity: sha512-AgVOEU4f023CKTMxTnH8+BTNhGjAVux88EeIR/ikch5FM2nArCTpp7af8/qGZOhc7QDegJvHlt6DcCR7rqyIQg==} dependencies: '@warp-ds/tokenizer': 0.0.2 - '@warp-ds/uno': 1.1.0 + '@warp-ds/uno': 1.2.0 dev: false /@warp-ds/icons@1.2.0: @@ -2138,6 +2169,14 @@ packages: '@unocss/preset-mini': 0.52.7 dev: false + /@warp-ds/uno@1.2.0: + resolution: {integrity: sha512-P5zq8/Bzg33HXR0UxupqJROZK3/QFJOc+bzABN3qTihPCkiqLJCWHxqf2a61Bleg1yK4mTQv+J3FRfYyeZCUow==} + dependencies: + '@unocss/core': 0.57.7 + '@unocss/preset-mini': 0.57.7 + '@unocss/rule-utils': 0.57.7 + dev: false + /JSONStream@1.3.5: resolution: {integrity: sha512-E+iruNOY8VV9s4JEbe1aNEm6MiszPRr/UfcHMz0TQh1BXSxHK+ASV1R6W4HpjBhSeS+54PIsAMCBmwD06LLsqQ==} hasBin: true @@ -2192,8 +2231,10 @@ packages: indent-string: 5.0.0 dev: true - /ajv-formats@2.1.1: + /ajv-formats@2.1.1(ajv@8.12.0): resolution: {integrity: sha512-Wx0Kx52hxE7C18hkMEggYlEifqWZtYaRgouJor+WMdPnQyEK13vgEWyVNup7SoeeoLMsr4kf5h6dOW11I15MUA==} + peerDependencies: + ajv: ^8.0.0 peerDependenciesMeta: ajv: optional: true @@ -4567,6 +4608,13 @@ packages: '@jridgewell/sourcemap-codec': 1.4.15 dev: true + /magic-string@0.30.5: + resolution: {integrity: sha512-7xlpfBaQaP/T6Vh8MO/EqXSW5En6INHEvEXQiuff7Gku0PWjU3uf6w/j9o7O+SpB5fOAkrI5HeoNgwjEO0pFsA==} + engines: {node: '>=12'} + dependencies: + '@jridgewell/sourcemap-codec': 1.4.15 + dev: false + /make-dir@3.1.0: resolution: {integrity: sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==} engines: {node: '>=8'} @@ -6358,7 +6406,7 @@ packages: engines: {node: '>= 10.0.0'} dev: true - /unocss@0.56.0(vite@4.4.9): + /unocss@0.56.0(postcss@8.4.30)(vite@4.4.9): resolution: {integrity: sha512-Ge0lMi1zYL2z/NCv0OMeYMUeLsjQGNeohSc/3qumEtGhBNiGrF6sVX80BnJ99fAFsn80nxJepWbCApUmZ/2tJA==} engines: {node: '>=14'} peerDependencies: @@ -6374,7 +6422,7 @@ packages: '@unocss/cli': 0.56.0 '@unocss/core': 0.56.0 '@unocss/extractor-arbitrary-variants': 0.56.0 - '@unocss/postcss': 0.56.0 + '@unocss/postcss': 0.56.0(postcss@8.4.30) '@unocss/preset-attributify': 0.56.0 '@unocss/preset-icons': 0.56.0 '@unocss/preset-mini': 0.56.0 @@ -6390,8 +6438,9 @@ packages: '@unocss/transformer-directives': 0.56.0 '@unocss/transformer-variant-group': 0.56.0 '@unocss/vite': 0.56.0(vite@4.4.9) - vite: 4.4.9 + vite: 4.4.9(@types/node@20.4.2) transitivePeerDependencies: + - postcss - rollup - supports-color dev: true @@ -6503,41 +6552,6 @@ packages: - terser dev: true - /vite@4.4.9: - resolution: {integrity: sha512-2mbUn2LlUmNASWwSCNSJ/EG2HuSRTnVNaydp6vMCm5VIqJsjMfbIWtbH2kDuwUVW5mMUKKZvGPX/rqeqVvv1XA==} - engines: {node: ^14.18.0 || >=16.0.0} - hasBin: true - peerDependencies: - '@types/node': '>= 14' - less: '*' - lightningcss: ^1.21.0 - sass: '*' - stylus: '*' - sugarss: '*' - terser: ^5.4.0 - peerDependenciesMeta: - '@types/node': - optional: true - less: - optional: true - lightningcss: - optional: true - sass: - optional: true - stylus: - optional: true - sugarss: - optional: true - terser: - optional: true - dependencies: - esbuild: 0.18.20 - postcss: 8.4.29 - rollup: 3.28.1 - optionalDependencies: - fsevents: 2.3.2 - dev: true - /vite@4.4.9(@types/node@20.4.2): resolution: {integrity: sha512-2mbUn2LlUmNASWwSCNSJ/EG2HuSRTnVNaydp6vMCm5VIqJsjMfbIWtbH2kDuwUVW5mMUKKZvGPX/rqeqVvv1XA==} engines: {node: ^14.18.0 || >=16.0.0} @@ -6863,7 +6877,3 @@ packages: /zwitch@2.0.4: resolution: {integrity: sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A==} dev: true - -settings: - autoInstallPeers: true - excludeLinksFromLockfile: false From 0799864895a8909c9aa80b21519a47a429a473db Mon Sep 17 00:00:00 2001 From: Balbina K <41303231+BalbinaK@users.noreply.github.com> Date: Tue, 28 Nov 2023 14:56:52 +0100 Subject: [PATCH 09/12] fix(textfield): allow styling input's left padding if prefix is wider than 40px (#115) * fix(textfield): allow styling input's left padding when prefix is wider than 40px * docs(textfield): fix missing prefix/affix attributes in examples * docs: add comment explaining why we use scoped styles --- components/forms/w-textfield.vue | 7 +++++++ dev/pages/TextField.vue | 10 ++++++++-- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/components/forms/w-textfield.vue b/components/forms/w-textfield.vue index 0dce1279..45b1c1a4 100644 --- a/components/forms/w-textfield.vue +++ b/components/forms/w-textfield.vue @@ -77,6 +77,13 @@ const inputClasses = computed(() => ({ + + +