@blakesteve/roster 5.2.0 → 5.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (68) hide show
  1. package/README.md +121 -20
  2. package/dist/components/atoms/Avatar/Avatar.cjs +1 -1
  3. package/dist/components/atoms/Avatar/Avatar.js +1 -1
  4. package/dist/components/atoms/Avatar/avatar-variants.cjs +1 -1
  5. package/dist/components/atoms/Avatar/avatar-variants.js +1 -1
  6. package/dist/components/atoms/Button/button-variants.cjs +1 -1
  7. package/dist/components/atoms/Button/button-variants.js +3 -3
  8. package/dist/components/atoms/Card/card-variants.cjs +1 -1
  9. package/dist/components/atoms/Card/card-variants.js +3 -2
  10. package/dist/components/atoms/Checkbox/Checkbox.cjs +1 -1
  11. package/dist/components/atoms/Checkbox/Checkbox.d.ts +5 -0
  12. package/dist/components/atoms/Checkbox/Checkbox.js +54 -40
  13. package/dist/components/atoms/Checkbox/checkbox-variants.cjs +1 -1
  14. package/dist/components/atoms/Checkbox/checkbox-variants.js +1 -1
  15. package/dist/components/atoms/Combobox/Combobox.cjs +1 -1
  16. package/dist/components/atoms/Combobox/Combobox.js +63 -62
  17. package/dist/components/atoms/InlineCode/inline-code-variants.cjs +1 -1
  18. package/dist/components/atoms/InlineCode/inline-code-variants.js +1 -1
  19. package/dist/components/atoms/Input/Input.cjs +1 -1
  20. package/dist/components/atoms/Input/Input.js +49 -52
  21. package/dist/components/atoms/Input/input-variants.cjs +1 -1
  22. package/dist/components/atoms/Input/input-variants.js +17 -7
  23. package/dist/components/atoms/LabeledDivider/LabeledDivider.cjs +1 -1
  24. package/dist/components/atoms/LabeledDivider/LabeledDivider.js +6 -6
  25. package/dist/components/atoms/MultiSelect/MultiSelect.cjs +1 -1
  26. package/dist/components/atoms/MultiSelect/MultiSelect.js +62 -60
  27. package/dist/components/atoms/PasswordInput/PasswordInput.cjs +1 -1
  28. package/dist/components/atoms/PasswordInput/PasswordInput.js +1 -1
  29. package/dist/components/atoms/Select/Select.cjs +1 -1
  30. package/dist/components/atoms/Select/Select.js +52 -51
  31. package/dist/components/atoms/Select/select-variants.cjs +1 -1
  32. package/dist/components/atoms/Select/select-variants.js +9 -2
  33. package/dist/components/atoms/Switch/switch-variants.cjs +1 -1
  34. package/dist/components/atoms/Switch/switch-variants.js +1 -1
  35. package/dist/components/atoms/Textarea/Textarea.cjs +1 -1
  36. package/dist/components/atoms/Textarea/Textarea.js +36 -34
  37. package/dist/components/atoms/Textarea/textarea-variants.cjs +1 -1
  38. package/dist/components/atoms/Textarea/textarea-variants.js +17 -11
  39. package/dist/components/atoms/Tooltip/Tooltip.cjs +1 -1
  40. package/dist/components/atoms/Tooltip/Tooltip.js +1 -1
  41. package/dist/components/molecules/Accordion/Accordion.cjs +1 -1
  42. package/dist/components/molecules/Accordion/Accordion.js +19 -19
  43. package/dist/components/molecules/Alert/Alert.cjs +1 -1
  44. package/dist/components/molecules/Alert/Alert.js +1 -1
  45. package/dist/components/molecules/CheckboxGroup/CheckboxGroup.cjs +1 -1
  46. package/dist/components/molecules/CheckboxGroup/CheckboxGroup.d.ts +5 -3
  47. package/dist/components/molecules/CheckboxGroup/CheckboxGroup.js +68 -65
  48. package/dist/components/molecules/RadioGroup/RadioGroup.cjs +1 -1
  49. package/dist/components/molecules/RadioGroup/RadioGroup.d.ts +4 -3
  50. package/dist/components/molecules/RadioGroup/RadioGroup.js +48 -47
  51. package/dist/components/molecules/Toast/Toast.cjs +1 -1
  52. package/dist/components/molecules/Toast/Toast.js +1 -1
  53. package/dist/components/organisms/Dialog/Dialog.cjs +1 -1
  54. package/dist/components/organisms/Dialog/Dialog.js +28 -24
  55. package/dist/components/organisms/Navbar/Navbar.cjs +1 -1
  56. package/dist/components/organisms/Navbar/Navbar.js +2 -2
  57. package/dist/components/organisms/Sheet/Sheet.cjs +1 -1
  58. package/dist/components/organisms/Sheet/Sheet.js +1 -1
  59. package/dist/internal/field-invalid.cjs +1 -0
  60. package/dist/internal/field-invalid.d.ts +37 -0
  61. package/dist/internal/field-invalid.js +13 -0
  62. package/dist/internal/popup.cjs +1 -1
  63. package/dist/internal/popup.js +1 -1
  64. package/dist/lib/utils.cjs +1 -1
  65. package/dist/lib/utils.js +16 -11
  66. package/dist/meta.json +3 -3
  67. package/dist/roster.css +1 -1
  68. package/package.json +1 -1
package/dist/lib/utils.js CHANGED
@@ -1,26 +1,31 @@
1
- import { clsx as r } from "../node_modules/clsx/dist/clsx.js";
2
- import { extendTailwindMerge as o } from "../node_modules/tailwind-merge/dist/bundle-mjs.js";
3
- const n = /* @__PURE__ */ o({
1
+ import { clsx as o } from "../node_modules/clsx/dist/clsx.js";
2
+ import { extendTailwindMerge as r } from "../node_modules/tailwind-merge/dist/bundle-mjs.js";
3
+ const n = /* @__PURE__ */ r({
4
4
  prefix: "rst",
5
5
  extend: {
6
6
  classGroups: {
7
7
  /* The elevation levels are custom utilities, so tailwind-merge does not
8
- know they set `box-shadow` and conflict with `shadow-*` and with each
9
- other. Without this, `cn(cardVariants(), "rst:elevation-overlay")`
10
- kept BOTH and the winner fell to stylesheet order — which emits
11
- anchored, overlay, raised, so the family resolved in the inverse of
12
- its own depth order and a consumer's override was a no-op. Exactly the
13
- degradation the comment above describes, on the newest utility. */
8
+ know they set `box-shadow` and conflict with `shadow-*` and with each
9
+ other. Without this, `cn(cardVariants(), "rst:elevation-overlay")`
10
+ kept BOTH and the winner fell to stylesheet order — which emits
11
+ anchored, overlay, raised, so the family resolved in the inverse of
12
+ its own depth order and a consumer's override was a no-op. Exactly the
13
+ degradation the comment above describes, on the newest utility.
14
+
15
+ `elevation-control` is the same kind of utility on controls, and
16
+ `cn(buttonVariants(), "rst:shadow-none")` is how a caller flattens a
17
+ Button, so leaving it out would have kept both there too. */
14
18
  shadow: [
15
19
  "elevation-raised",
16
20
  "elevation-anchored",
17
- "elevation-overlay"
21
+ "elevation-overlay",
22
+ "elevation-control"
18
23
  ]
19
24
  }
20
25
  }
21
26
  });
22
27
  function a(...e) {
23
- return n(r(e));
28
+ return n(o(e));
24
29
  }
25
30
  export {
26
31
  a as cn
package/dist/meta.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "5.2.0",
3
- "tests": 1759,
4
- "testFiles": 236
2
+ "version": "5.3.0",
3
+ "tests": 1803,
4
+ "testFiles": 306
5
5
  }