@okshaun/components 2.0.2 → 4.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (78) hide show
  1. package/dist/icon-metadata.json +385 -41
  2. package/dist/index.js +13414 -5259
  3. package/dist/index.js.map +1 -1
  4. package/dist/panda.buildinfo.json +1245 -263
  5. package/dist/{preset-DAmO4B54.js → preset-BOFHjPdQ.js} +2265 -1727
  6. package/dist/preset-BOFHjPdQ.js.map +1 -0
  7. package/dist/preset.js +1 -1
  8. package/dist/specs/conditions.json +75 -51
  9. package/dist/specs/keyframes.json +33 -0
  10. package/dist/specs/recipes.json +359 -103
  11. package/dist/specs/semantic-tokens.json +152 -44
  12. package/dist/specs/tokens.json +21 -36
  13. package/dist/sprite.svg +1 -1
  14. package/dist/sprite.symbol.html +499 -43
  15. package/dist/styles.css +18229 -7568
  16. package/dist/svgs/barcode-off.svg +1 -0
  17. package/dist/svgs/cheese.svg +1 -0
  18. package/dist/svgs/collapse-vertical.svg +1 -0
  19. package/dist/svgs/expand-vertical.svg +1 -0
  20. package/dist/svgs/magnet.svg +1 -0
  21. package/dist/svgs/spinner.svg +1 -0
  22. package/dist/svgs/to-date-backward.svg +1 -0
  23. package/dist/svgs/to-date-forward.svg +1 -0
  24. package/dist/types/index.d.ts +2804 -296
  25. package/package.json +4 -2
  26. package/src/recipes/autocomplete.ts +266 -0
  27. package/src/recipes/avatar.ts +1 -1
  28. package/src/recipes/badge.ts +31 -43
  29. package/src/recipes/breakpointIndicator.ts +11 -0
  30. package/src/recipes/button.ts +172 -223
  31. package/src/recipes/calendar.ts +91 -0
  32. package/src/recipes/card.ts +4 -70
  33. package/src/recipes/chip.ts +213 -142
  34. package/src/recipes/dateMenus.ts +40 -0
  35. package/src/recipes/dateTimeMenus.ts +43 -0
  36. package/src/recipes/icon.ts +25 -6
  37. package/src/recipes/kbd.ts +56 -0
  38. package/src/recipes/list.ts +17 -1
  39. package/src/recipes/listDensity.ts +66 -0
  40. package/src/recipes/listItem.ts +29 -161
  41. package/src/recipes/listItemGroup.ts +17 -39
  42. package/src/recipes/menu.ts +17 -3
  43. package/src/recipes/modal.ts +70 -39
  44. package/src/recipes/radio.ts +6 -6
  45. package/src/recipes/recipes-regular.ts +2 -0
  46. package/src/recipes/recipes-slot.ts +8 -2
  47. package/src/recipes/segmentedFields.ts +192 -0
  48. package/src/recipes/segmentedInputs.ts +109 -0
  49. package/src/recipes/select.ts +8 -1
  50. package/src/recipes/skeleton.ts +72 -0
  51. package/src/recipes/spinner.ts +27 -24
  52. package/src/recipes/tag.ts +218 -210
  53. package/src/recipes/text.ts +37 -19
  54. package/src/recipes/textInput.ts +106 -117
  55. package/src/recipes/themeSwitcher.ts +3 -3
  56. package/src/recipes/timeMenus.ts +110 -0
  57. package/src/recipes/toggle.ts +3 -1
  58. package/src/styles/primitives/animations.ts +3 -0
  59. package/src/styles/primitives/shadows.ts +26 -60
  60. package/src/styles/primitives/zIndex.ts +1 -0
  61. package/src/styles/semantics/colors.ts +43 -0
  62. package/src/styles/semantics/shadows.ts +4 -30
  63. package/src/styles/semantics/zIndex.ts +2 -0
  64. package/src/styles/utilities/conditions.ts +61 -51
  65. package/src/styles/utilities/dropShadows.ts +51 -0
  66. package/src/styles/utilities/filters.ts +22 -7
  67. package/src/styles/utilities/globalStyle.ts +5 -2
  68. package/src/styles/utilities/index.ts +3 -0
  69. package/src/styles/utilities/keyframes.ts +31 -4
  70. package/src/styles/utilities/recipeGlobalStyles.ts +22 -0
  71. package/src/styles/utilities/shadowDefinitions.ts +112 -0
  72. package/src/utils/dsChain.ts +113 -0
  73. package/src/utils/dsComponent.ts +44 -0
  74. package/src/utils/dsPart.ts +41 -0
  75. package/src/utils/mergeAriaDescribedBy.ts +7 -0
  76. package/dist/preset-DAmO4B54.js.map +0 -1
  77. package/src/recipes/datePicker.ts +0 -212
  78. package/src/recipes/timePicker.ts +0 -199
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path d="m19.67 19.67-1.17 1.16-7.25-7.25v1.92h-1v-2.92l-1.5-1.5v4.42h-1v-5.42L6 8.33V9H5V7.33L3.17 5.5l1.16-1.17zM6 17h2v1H5v-3h1zM19 16.67l-1-1V15h1zM16.25 13.92l-1-1V8.5h1zM13.75 11.42l-1-1V8.5h1zM19 9h-1V7h-2V6h3z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path d="M16.375 4.5a.6.6 0 0 0-.18.027l-12.5 3.75a.625.625 0 0 0-.445.598v1.25a.625.625 0 0 0 .625.625h.583c1.05 0 1.937.86 1.917 1.91A1.875 1.875 0 0 1 4.5 14.5h-.625a.625.625 0 0 0-.625.625V17a.625.625 0 0 0 .625.625H19.5a1.25 1.25 0 0 0 1.25-1.25v-7.5A4.38 4.38 0 0 0 16.375 4.5M8.25 16.375a2.5 2.5 0 0 1 5 0zm6.875-3.75A2.5 2.5 0 0 1 12.703 9.5h4.844a2.5 2.5 0 0 1-2.422 3.125M8.134 8.25l8.328-2.5a3.13 3.13 0 0 1 2.975 2.5z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path d="m16.17 17.17-1.19 1.16L12 15.35l-2.98 2.98-1.19-1.16L12 13zM16.17 6.83 12 11 7.83 6.83l1.19-1.16L12 8.65l2.98-2.98z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path d="M16.17 15.17 12 19.33l-4.17-4.16L9.02 14 12 16.98 14.98 14zM16.17 8.83 14.98 10 12 7.02 9.02 10 7.83 8.83 12 4.67z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path d="M18.172 5.926a6.83 6.83 0 0 0-4.875-2.051h-.026a6.83 6.83 0 0 0-4.865 2.016L3.61 10.75a1.25 1.25 0 0 0 .005 1.762l2.239 2.24a1.25 1.25 0 0 0 .884.366h.007a1.25 1.25 0 0 0 .888-.377l4.758-4.875a1.257 1.257 0 0 1 1.75-.016 1.22 1.22 0 0 1 .37.874 1.32 1.32 0 0 1-.379.938l-4.866 4.704a1.25 1.25 0 0 0-.014 1.78l2.24 2.24a1.255 1.255 0 0 0 1.759.009l4.828-4.723c2.691-2.695 2.733-7.066.093-9.746m-11.434 7.94L4.5 11.628 6.798 9.3l2.225 2.225zm5.636 5.634-2.24-2.238 2.354-2.276 2.225 2.225z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path d="M6 12c0 1.53.59 3.07 1.76 4.24A5.98 5.98 0 0 0 12 18v2c-2.05 0-4.1-.78-5.66-2.34A8 8 0 0 1 4 12zM12 4c2.05 0 4.1.78 5.66 2.34A8 8 0 0 1 20 12h-2c0-1.53-.59-3.07-1.76-4.24A5.98 5.98 0 0 0 12 6z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path d="M7.16 5.16v1.67h4.67V5.16h1.67v1.67h.83c.46 0 .85.16 1.18.49.06.07.11.13.16.2l-3.31 3.31H4.67v6.33l-.01.01h7.69l1.67 1.67H4.66a1.6 1.6 0 0 1-1.18-.49c-.33-.33-.49-.72-.49-1.18V8.5c0-.46.16-.85.49-1.18s.72-.49 1.18-.49h.83V5.16z"/><path d="m17 10.99-2.14 2.17h6.81v1.66h-6.81L17 16.99l-1.16 1.17-4.17-4.17 4.17-4.17z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path d="M12.16 5.16v1.67h4.67V5.16h1.67v1.67h.83c.46 0 .85.16 1.18.49h-.01c.33.33.49.72.49 1.18v8.66c0 .46-.16.85-.49 1.18s-.72.49-1.18.49H9.96l1.67-1.67h7.69v-6.33h-7.69L8.32 7.52c.05-.07.1-.14.16-.2a1.6 1.6 0 0 1 1.18-.49h.83V5.16z"/><path d="m12.33 14-4.17 4.17L7 17l2.14-2.17H2.33v-1.66h6.81L7 11l1.16-1.17z"/></svg>