@returnless/focus-ui 0.0.38 → 0.0.39

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.
@@ -26,8 +26,8 @@ declare const __VLS_component: import("vue").DefineComponent<{
26
26
  }> & Readonly<{
27
27
  onDismiss?: (() => any) | undefined;
28
28
  }>, {
29
- variant: AlertVariant;
30
29
  flush: boolean;
30
+ variant: AlertVariant;
31
31
  dismissible: boolean;
32
32
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
33
33
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
@@ -13,8 +13,8 @@ declare const __VLS_component: import("vue").DefineComponent<{
13
13
  flush?: boolean;
14
14
  alignment?: "start" | "end";
15
15
  }> & Readonly<{}>, {
16
- alignment: "start" | "end";
17
16
  flush: boolean;
17
+ alignment: "start" | "end";
18
18
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
19
19
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
20
20
  export default _default;
@@ -1,5 +1,6 @@
1
1
  export { type TailwindColor, useTailwindColor } from './useTailwindColor';
2
2
  export { useCalendar } from './useCalendar';
3
+ export { useDark } from './useDark';
3
4
  export { useDateFormatter } from './useDateFormatter';
4
5
  export { useTheme } from './useTheme';
5
6
  export { useToastNotifications } from './useToastNotifications';
@@ -0,0 +1 @@
1
+ export declare function useDark(): import("vue").ComputedRef<boolean>;
@@ -1,4 +1,4 @@
1
- import colors from 'tailwindcss/colors';
1
+ declare const colors: any;
2
2
  type TailwindColorMap = typeof colors;
3
3
  export type TailwindColor = keyof {
4
4
  [K in keyof TailwindColorMap as TailwindColorMap[K] extends object ? K : never]: TailwindColorMap[K];
package/dist/style.css CHANGED
@@ -1 +1 @@
1
- :root{--grid-gap: 1.5rem}[type=checkbox]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e")}[type=radio]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e")}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:center;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}._visuallyHidden_o6qmb_6{position:absolute!important;width:1px!important;height:1px!important;margin:0!important;padding:0!important;overflow:hidden!important;clip-path:inset(50%)!important;border:0!important;white-space:nowrap!important}.shake{animation:horizontal-shaking .25s infinite}@keyframes horizontal-shaking{0%{transform:translate(0)}25%{transform:translate(5px)}50%{transform:translate(-5px)}75%{transform:translate(5px)}to{transform:translate(0)}}.chosen[data-v-af1d3709]{opacity:1;--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.ghost[data-v-af1d3709]{--tw-bg-opacity: 1;background-color:rgb(241 245 249 / var(--tw-bg-opacity))}.ghost[data-v-af1d3709]:where(.dark,.dark *){--tw-bg-opacity: 1;background-color:rgb(63 63 70 / var(--tw-bg-opacity))}.nested-enter-active,.nested-leave-active{transition:all .2s ease-in-out}.nested-enter-active .background,.nested-leave-active .background{transition:all .2s linear}.nested-enter-from .background,.nested-leave-to .background{opacity:0}.nested-enter-active .drawer,.nested-leave-active .drawer{transition:all .15s ease-out}.nested-enter-from .drawer,.nested-leave-to .drawer{transform:translate(120%)}input[type=number][data-v-77f41730]::-webkit-inner-spin-button,input[type=number][data-v-77f41730]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
1
+ :root{--grid-gap: 1.5rem}[type=checkbox]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e")}[type=radio]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e")}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:center;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}._visuallyHidden_o6qmb_6{position:absolute!important;width:1px!important;height:1px!important;margin:0!important;padding:0!important;overflow:hidden!important;clip-path:inset(50%)!important;border:0!important;white-space:nowrap!important}.shake{animation:horizontal-shaking .25s infinite}@keyframes horizontal-shaking{0%{transform:translate(0)}25%{transform:translate(5px)}50%{transform:translate(-5px)}75%{transform:translate(5px)}to{transform:translate(0)}}.chosen[data-v-af1d3709]{opacity:1;--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.ghost[data-v-af1d3709]{--tw-bg-opacity: 1;background-color:rgb(241 245 249 / var(--tw-bg-opacity))}.ghost[data-v-af1d3709]:where(.dark,.dark *){--tw-bg-opacity: 1;background-color:rgb(63 63 70 / var(--tw-bg-opacity))}.nested-enter-active,.nested-leave-active{transition:all .2s ease-in-out}.nested-enter-active .background,.nested-leave-active .background{transition:all .2s linear}.nested-enter-from .background,.nested-leave-to .background{opacity:0}.nested-enter-active .drawer,.nested-leave-active .drawer{transition:all .15s ease-out}.nested-enter-from .drawer,.nested-leave-to .drawer{transform:translate(120%)}input[type=number][data-v-db2ec5a9]::-webkit-inner-spin-button,input[type=number][data-v-db2ec5a9]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@returnless/focus-ui",
3
- "version": "0.0.38",
3
+ "version": "0.0.39",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -21,7 +21,7 @@
21
21
  "@heroicons/vue": "^2.1.3",
22
22
  "@inertiajs/vue3": "^1.1.0",
23
23
  "@internationalized/date": "^3.5.5",
24
- "@stylistic/eslint-plugin": "^2.1.0",
24
+ "@stylistic/eslint-plugin": "^2.9.0",
25
25
  "@tailwindcss/typography": "^0.5.13",
26
26
  "@testing-library/jest-dom": "^6.5.0",
27
27
  "@testing-library/vue": "^8.1.0",
@@ -43,13 +43,13 @@
43
43
  "jest-axe": "^9.0.0",
44
44
  "jsdom": "^25.0.0",
45
45
  "postcss": "^8.4.38",
46
- "radix-vue": "^1.9.6",
46
+ "radix-vue": "^1.9.7",
47
47
  "rimraf": "^6.0.1",
48
48
  "sortablejs": "^1.15.2",
49
49
  "tailwindcss": "^3.4.3",
50
50
  "typescript": "^5.4.5",
51
51
  "vite": "^5.2.12",
52
- "vitepress": "^1.3.4",
52
+ "vitepress": "^1.4.0",
53
53
  "vitest": "^2.0.5",
54
54
  "vitest-canvas-mock": "^0.3.3",
55
55
  "vue-component-meta": "^2.0.19",