@charcoal-ui/tailwind-config 2.5.0 → 2.6.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 (55) hide show
  1. package/dist/_lib/TailwindBuild.d.ts +17 -17
  2. package/dist/_lib/compat.d.ts +13 -13
  3. package/dist/_lib/compat.d.ts.map +1 -1
  4. package/dist/colors/plugin.d.ts +7 -7
  5. package/dist/colors/plugin.test.d.ts +1 -1
  6. package/dist/colors/toTailwindConfig.d.ts +5 -5
  7. package/dist/colors/toTailwindConfig.test.d.ts +1 -1
  8. package/dist/colors/utils.d.ts +6 -6
  9. package/dist/colors/utils.d.ts.map +1 -1
  10. package/dist/docs/borderRadius/BorderRadius.d.ts +2 -2
  11. package/dist/docs/borderRadius/index.d.ts +2 -2
  12. package/dist/docs/colors/Colors.d.ts +2 -2
  13. package/dist/docs/colors/Colors.d.ts.map +1 -1
  14. package/dist/docs/colors/TextBgColor.story.d.ts +26 -26
  15. package/dist/docs/colors/TextBgColor.story.d.ts.map +1 -1
  16. package/dist/docs/colors/TextColors.d.ts +2 -2
  17. package/dist/docs/colors/index.d.ts +3 -3
  18. package/dist/docs/gradient/Gradients.d.ts +2 -2
  19. package/dist/docs/gradient/index.d.ts +9 -9
  20. package/dist/docs/gradient/index.d.ts.map +1 -1
  21. package/dist/docs/gradient/utils.d.ts +1 -1
  22. package/dist/docs/index.d.ts +8 -8
  23. package/dist/docs/index.d.ts.map +1 -1
  24. package/dist/docs/screens/Screens.d.ts +2 -2
  25. package/dist/docs/screens/index.d.ts +2 -2
  26. package/dist/docs/spacing/Spacing.d.ts +2 -2
  27. package/dist/docs/spacing/index.d.ts +2 -2
  28. package/dist/docs/typography/HalfLeading.d.ts +2 -2
  29. package/dist/docs/typography/Sizes.d.ts +2 -2
  30. package/dist/docs/typography/index.d.ts +8 -8
  31. package/dist/docs/typography/index.d.ts.map +1 -1
  32. package/dist/foundation.d.ts +5 -5
  33. package/dist/foundation.d.ts.map +1 -1
  34. package/dist/gradient/plugin.d.ts +18 -18
  35. package/dist/gradient/plugin.d.ts.map +1 -1
  36. package/dist/gradient/plugin.test.d.ts +1 -1
  37. package/dist/index.cjs.js +377 -0
  38. package/dist/index.cjs.js.map +1 -0
  39. package/dist/index.d.ts +9 -9
  40. package/dist/index.esm.js +359 -0
  41. package/dist/index.esm.js.map +1 -0
  42. package/dist/index.test.d.ts +1 -1
  43. package/dist/types.d.ts +29 -29
  44. package/dist/types.d.ts.map +1 -1
  45. package/dist/typography/plugin.d.ts +2 -2
  46. package/dist/util.d.ts +11 -11
  47. package/package.json +16 -16
  48. package/src/docs/colors/Colors.tsx +1 -0
  49. package/src/docs/gradient/index.ts +1 -1
  50. package/dist/index.cjs +0 -488
  51. package/dist/index.cjs.map +0 -1
  52. package/dist/index.modern.js +0 -444
  53. package/dist/index.modern.js.map +0 -1
  54. package/dist/index.module.js +0 -483
  55. package/dist/index.module.js.map +0 -1
@@ -1,18 +1,18 @@
1
- import { TailwindConfig } from 'tailwindcss/tailwind-config';
2
- /**
3
- * テスト用に tailwind.css のビルドを走らせる
4
- *
5
- * クラス一覧を得たりするたびにビルドが走らないことを保証するために、new した時点でビルドが完了するように作っている
6
- */
7
- export declare class TailwindBuild {
8
- private result;
9
- private readonly parsedCss;
10
- private constructor();
11
- static run(config: TailwindConfig, css: string): Promise<TailwindBuild>;
12
- get css(): string;
13
- get classNames(): string[];
14
- getStylesByClassName(className: string): string[] | undefined;
15
- getCssVariables(): string[];
16
- getCssVariable(varName: `--${string}`): string[];
17
- }
1
+ import { TailwindConfig } from 'tailwindcss/tailwind-config';
2
+ /**
3
+ * テスト用に tailwind.css のビルドを走らせる
4
+ *
5
+ * クラス一覧を得たりするたびにビルドが走らないことを保証するために、new した時点でビルドが完了するように作っている
6
+ */
7
+ export declare class TailwindBuild {
8
+ private result;
9
+ private readonly parsedCss;
10
+ private constructor();
11
+ static run(config: TailwindConfig, css: string): Promise<TailwindBuild>;
12
+ get css(): string;
13
+ get classNames(): string[];
14
+ getStylesByClassName(className: string): string[] | undefined;
15
+ getCssVariables(): string[];
16
+ getCssVariable(varName: `--${string}`): string[];
17
+ }
18
18
  //# sourceMappingURL=TailwindBuild.d.ts.map
@@ -1,14 +1,14 @@
1
- import React from 'react';
2
- /**
3
- * import { Story } from '@storybook/react/types-6-0'
4
- *
5
- * をするとstyled-componentsが壊れるので代替品を作った
6
- *
7
- * エラー:
8
- * node_modules/@types/styled-components/ts3.7/index.d.ts
9
- * `Type alias 'Interpolation' circularly references itself. ts(2456)`
10
- */
11
- export declare type Story<P> = React.ComponentType<P> & {
12
- args?: P;
13
- };
1
+ import React from 'react';
2
+ /**
3
+ * import { Story } from '@storybook/react/types-6-0'
4
+ *
5
+ * をするとstyled-componentsが壊れるので代替品を作った
6
+ *
7
+ * エラー:
8
+ * node_modules/@types/styled-components/ts3.7/index.d.ts
9
+ * `Type alias 'Interpolation' circularly references itself. ts(2456)`
10
+ */
11
+ export type Story<P> = React.ComponentType<P> & {
12
+ args?: P;
13
+ };
14
14
  //# sourceMappingURL=compat.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"compat.d.ts","sourceRoot":"","sources":["../../src/_lib/compat.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB;;;;;;;;GAQG;AACH,oBAAY,KAAK,CAAC,CAAC,IAAI,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,GAAG;IAAE,IAAI,CAAC,EAAE,CAAC,CAAA;CAAE,CAAA"}
1
+ {"version":3,"file":"compat.d.ts","sourceRoot":"","sources":["../../src/_lib/compat.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB;;;;;;;;GAQG;AACH,MAAM,MAAM,KAAK,CAAC,CAAC,IAAI,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,GAAG;IAAE,IAAI,CAAC,EAAE,CAAC,CAAA;CAAE,CAAA"}
@@ -1,8 +1,8 @@
1
- import { TailwindPlugin } from 'tailwindcss/plugin';
2
- import { Definition, ThemeMap } from '../types';
3
- /**
4
- * `:root` 以外のケースで各 CSS Variable がどういう値を取るかを定義する
5
- */
6
- export default function cssVariableColorPlugin({ ':root': _defaultTheme, ...themes }: ThemeMap): TailwindPlugin;
7
- export declare function defineCssVariables(themes: Omit<ThemeMap, ':root'>): Definition;
1
+ import { TailwindPlugin } from 'tailwindcss/plugin';
2
+ import { Definition, ThemeMap } from '../types';
3
+ /**
4
+ * `:root` 以外のケースで各 CSS Variable がどういう値を取るかを定義する
5
+ */
6
+ export default function cssVariableColorPlugin({ ':root': _defaultTheme, ...themes }: ThemeMap): TailwindPlugin;
7
+ export declare function defineCssVariables(themes: Omit<ThemeMap, ':root'>): Definition;
8
8
  //# sourceMappingURL=plugin.d.ts.map
@@ -1,2 +1,2 @@
1
- export {};
1
+ export {};
2
2
  //# sourceMappingURL=plugin.test.d.ts.map
@@ -1,6 +1,6 @@
1
- import { TailwindConfig } from 'tailwindcss/tailwind-config';
2
- import { MergedEffect } from '../foundation';
3
- import { TailwindVersion } from '../types';
4
- import { AnyColorTheme } from './utils';
5
- export declare function colorsToTailwindConfig(version: TailwindVersion, colors: AnyColorTheme, effects: MergedEffect): TailwindConfig['theme']['colors'];
1
+ import { TailwindConfig } from 'tailwindcss/tailwind-config';
2
+ import { MergedEffect } from '../foundation';
3
+ import { TailwindVersion } from '../types';
4
+ import { AnyColorTheme } from './utils';
5
+ export declare function colorsToTailwindConfig(version: TailwindVersion, colors: AnyColorTheme, effects: MergedEffect): TailwindConfig['theme']['colors'];
6
6
  //# sourceMappingURL=toTailwindConfig.d.ts.map
@@ -1,2 +1,2 @@
1
- export {};
1
+ export {};
2
2
  //# sourceMappingURL=toTailwindConfig.test.d.ts.map
@@ -1,7 +1,7 @@
1
- import { GradientMaterial, Material } from '@charcoal-ui/foundation';
2
- export declare const COLOR_PREFIX = "--tailwind-color-";
3
- export declare function isSingleColor(color: AnyColor): color is Material;
4
- declare type AnyColor = Material | GradientMaterial;
5
- export declare type AnyColorTheme = Record<string, AnyColor>;
6
- export {};
1
+ import { GradientMaterial, Material } from '@charcoal-ui/foundation';
2
+ export declare const COLOR_PREFIX = "--tailwind-color-";
3
+ export declare function isSingleColor(color: AnyColor): color is Material;
4
+ type AnyColor = Material | GradientMaterial;
5
+ export type AnyColorTheme = Record<string, AnyColor>;
6
+ export {};
7
7
  //# sourceMappingURL=utils.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/colors/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAA;AAEpE,eAAO,MAAM,YAAY,sBAAsB,CAAA;AAE/C,wBAAgB,aAAa,CAAC,KAAK,EAAE,QAAQ,GAAG,KAAK,IAAI,QAAQ,CAEhE;AAED,aAAK,QAAQ,GAAG,QAAQ,GAAG,gBAAgB,CAAA;AAE3C,oBAAY,aAAa,GAAG,MAAM,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAA"}
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/colors/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAA;AAEpE,eAAO,MAAM,YAAY,sBAAsB,CAAA;AAE/C,wBAAgB,aAAa,CAAC,KAAK,EAAE,QAAQ,GAAG,KAAK,IAAI,QAAQ,CAEhE;AAED,KAAK,QAAQ,GAAG,QAAQ,GAAG,gBAAgB,CAAA;AAE3C,MAAM,MAAM,aAAa,GAAG,MAAM,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAA"}
@@ -1,3 +1,3 @@
1
- import React from 'react';
2
- export declare const BorderRadius: React.FC;
1
+ import React from 'react';
2
+ export declare const BorderRadius: React.FC;
3
3
  //# sourceMappingURL=BorderRadius.d.ts.map
@@ -1,3 +1,3 @@
1
- export declare const borderRadius: import("tailwindcss/tailwind-config").TailwindThemeValue;
2
- export { BorderRadius } from './BorderRadius';
1
+ export declare const borderRadius: import("tailwindcss/tailwind-config").TailwindThemeValue;
2
+ export { BorderRadius } from './BorderRadius';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1,3 +1,3 @@
1
- import React from 'react';
2
- export declare const Colors: React.FC;
1
+ import React from 'react';
2
+ export declare const Colors: React.FC;
3
3
  //# sourceMappingURL=Colors.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Colors.d.ts","sourceRoot":"","sources":["../../../src/docs/colors/Colors.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAoDzB,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,EAgC1B,CAAA"}
1
+ {"version":3,"file":"Colors.d.ts","sourceRoot":"","sources":["../../../src/docs/colors/Colors.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAoDzB,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,EAiC1B,CAAA"}
@@ -1,27 +1,27 @@
1
- import type { Story } from '../../_lib/compat';
2
- declare const _default: {
3
- title: string;
4
- argTypes: {
5
- textColorClass: {
6
- control: {
7
- type: string;
8
- options: string[];
9
- };
10
- defaultValue: string;
11
- };
12
- bgColorClass: {
13
- control: {
14
- type: string;
15
- options: string[];
16
- };
17
- defaultValue: string;
18
- };
19
- };
20
- };
21
- export default _default;
22
- declare type Props = Readonly<{
23
- textColorClass: string;
24
- bgColorClass: string;
25
- }>;
26
- export declare const Playground: Story<Props>;
1
+ import type { Story } from '../../_lib/compat';
2
+ declare const _default: {
3
+ title: string;
4
+ argTypes: {
5
+ textColorClass: {
6
+ control: {
7
+ type: string;
8
+ options: string[];
9
+ };
10
+ defaultValue: string;
11
+ };
12
+ bgColorClass: {
13
+ control: {
14
+ type: string;
15
+ options: string[];
16
+ };
17
+ defaultValue: string;
18
+ };
19
+ };
20
+ };
21
+ export default _default;
22
+ type Props = Readonly<{
23
+ textColorClass: string;
24
+ bgColorClass: string;
25
+ }>;
26
+ export declare const Playground: Story<Props>;
27
27
  //# sourceMappingURL=TextBgColor.story.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TextBgColor.story.d.ts","sourceRoot":"","sources":["../../../src/docs/colors/TextBgColor.story.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAA;;;;;;;;;;;;;;;;;;;;AAI9C,wBAkBC;AAED,aAAK,KAAK,GAAG,QAAQ,CAAC;IACpB,cAAc,EAAE,MAAM,CAAA;IACtB,YAAY,EAAE,MAAM,CAAA;CACrB,CAAC,CAAA;AAEF,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,KAAK,CAUnC,CAAA"}
1
+ {"version":3,"file":"TextBgColor.story.d.ts","sourceRoot":"","sources":["../../../src/docs/colors/TextBgColor.story.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAA;;;;;;;;;;;;;;;;;;;;AAI9C,wBAkBC;AAED,KAAK,KAAK,GAAG,QAAQ,CAAC;IACpB,cAAc,EAAE,MAAM,CAAA;IACtB,YAAY,EAAE,MAAM,CAAA;CACrB,CAAC,CAAA;AAEF,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,KAAK,CAUnC,CAAA"}
@@ -1,3 +1,3 @@
1
- import React from 'react';
2
- export declare const TextColors: React.FC;
1
+ import React from 'react';
2
+ export declare const TextColors: React.FC;
3
3
  //# sourceMappingURL=TextColors.d.ts.map
@@ -1,4 +1,4 @@
1
- export declare const colors: import("tailwindcss/tailwind-config").TailwindThemeColors;
2
- export { Colors } from './Colors';
3
- export { TextColors } from './TextColors';
1
+ export declare const colors: import("tailwindcss/tailwind-config").TailwindThemeColors;
2
+ export { Colors } from './Colors';
3
+ export { TextColors } from './TextColors';
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1,3 +1,3 @@
1
- import React from 'react';
2
- export declare const Gradients: React.FC;
1
+ import React from 'react';
2
+ export declare const Gradients: React.FC;
3
3
  //# sourceMappingURL=Gradients.d.ts.map
@@ -1,10 +1,10 @@
1
- import { EffectType } from '@charcoal-ui/theme';
2
- export { Gradients } from './Gradients';
3
- export declare const utilityClasses: Record<string, Record<string, unknown>>;
4
- export declare const directions: readonly ["top", "bottom", "right", "left"];
5
- export declare type Direction = typeof directions[number];
6
- export type { EffectType };
7
- export declare const effectTypes: {
8
- [type in EffectType]: null;
9
- };
1
+ import { EffectType } from '@charcoal-ui/theme';
2
+ export { Gradients } from './Gradients';
3
+ export declare const utilityClasses: Record<string, Record<string, unknown>>;
4
+ export declare const directions: readonly ["top", "bottom", "right", "left"];
5
+ export type Direction = (typeof directions)[number];
6
+ export type { EffectType };
7
+ export declare const effectTypes: {
8
+ [type in EffectType]: null;
9
+ };
10
10
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/docs/gradient/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA;AAI/C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AAWvC,eAAO,MAAM,cAAc,yCAA+B,CAAA;AAE1D,eAAO,MAAM,UAAU,6CAA8C,CAAA;AACrE,oBAAY,SAAS,GAAG,OAAO,UAAU,CAAC,MAAM,CAAC,CAAA;AAEjD,YAAY,EAAE,UAAU,EAAE,CAAA;AAC1B,eAAO,MAAM,WAAW,EAAE;KAAG,IAAI,IAAI,UAAU,GAAG,IAAI;CAIrD,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/docs/gradient/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA;AAI/C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AAWvC,eAAO,MAAM,cAAc,yCAA+B,CAAA;AAE1D,eAAO,MAAM,UAAU,6CAA8C,CAAA;AACrE,MAAM,MAAM,SAAS,GAAG,CAAC,OAAO,UAAU,CAAC,CAAC,MAAM,CAAC,CAAA;AAEnD,YAAY,EAAE,UAAU,EAAE,CAAA;AAC1B,eAAO,MAAM,WAAW,EAAE;KAAG,IAAI,IAAI,UAAU,GAAG,IAAI;CAIrD,CAAA"}
@@ -1,2 +1,2 @@
1
- export declare const getUniqueGradientNames: (utilityClasses: string[]) => string[];
1
+ export declare const getUniqueGradientNames: (utilityClasses: string[]) => string[];
2
2
  //# sourceMappingURL=utils.d.ts.map
@@ -1,9 +1,9 @@
1
- export declare type TailwindPlugin = {
2
- handler: ({ addBase, addUtilities, }: {
3
- addBase: unknown;
4
- addUtilities: unknown;
5
- }) => void;
6
- };
7
- export declare type UtilityClasses = Record<string, Record<string, unknown>>;
8
- export declare const getUtilities: (plugin: TailwindPlugin) => Record<string, Record<string, unknown>>;
1
+ export type TailwindPlugin = {
2
+ handler: ({ addBase, addUtilities, }: {
3
+ addBase: unknown;
4
+ addUtilities: unknown;
5
+ }) => void;
6
+ };
7
+ export type UtilityClasses = Record<string, Record<string, unknown>>;
8
+ export declare const getUtilities: (plugin: TailwindPlugin) => Record<string, Record<string, unknown>>;
9
9
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/docs/index.ts"],"names":[],"mappings":"AAEA,oBAAY,cAAc,GAAG;IAC3B,OAAO,EAAE,CAAC,EACR,OAAO,EACP,YAAY,GACb,EAAE;QACD,OAAO,EAAE,OAAO,CAAA;QAChB,YAAY,EAAE,OAAO,CAAA;KACtB,KAAK,IAAI,CAAA;CACX,CAAA;AAED,oBAAY,cAAc,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAA;AAEpE,eAAO,MAAM,YAAY,WAAY,cAAc,4CAmBlD,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/docs/index.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,cAAc,GAAG;IAC3B,OAAO,EAAE,CAAC,EACR,OAAO,EACP,YAAY,GACb,EAAE;QACD,OAAO,EAAE,OAAO,CAAA;QAChB,YAAY,EAAE,OAAO,CAAA;KACtB,KAAK,IAAI,CAAA;CACX,CAAA;AAED,MAAM,MAAM,cAAc,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAA;AAEpE,eAAO,MAAM,YAAY,WAAY,cAAc,4CAmBlD,CAAA"}
@@ -1,3 +1,3 @@
1
- import React from 'react';
2
- export declare const Screens: React.FC;
1
+ import React from 'react';
2
+ export declare const Screens: React.FC;
3
3
  //# sourceMappingURL=Screens.d.ts.map
@@ -1,3 +1,3 @@
1
- export declare const screens: import("tailwindcss/tailwind-config").TailwindThemeValue;
2
- export { Screens } from './Screens';
1
+ export declare const screens: import("tailwindcss/tailwind-config").TailwindThemeValue;
2
+ export { Screens } from './Screens';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1,3 +1,3 @@
1
- import React from 'react';
2
- export declare const Spacing: React.FC;
1
+ import React from 'react';
2
+ export declare const Spacing: React.FC;
3
3
  //# sourceMappingURL=Spacing.d.ts.map
@@ -1,3 +1,3 @@
1
- export declare const spacing: import("tailwindcss/tailwind-config").TailwindThemeValue;
2
- export { Spacing } from './Spacing';
1
+ export declare const spacing: import("tailwindcss/tailwind-config").TailwindThemeValue;
2
+ export { Spacing } from './Spacing';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1,3 +1,3 @@
1
- import React from 'react';
2
- export declare const HalfLeading: React.FC;
1
+ import React from 'react';
2
+ export declare const HalfLeading: React.FC;
3
3
  //# sourceMappingURL=HalfLeading.d.ts.map
@@ -1,3 +1,3 @@
1
- import React from 'react';
2
- export declare const Sizes: React.FC;
1
+ import React from 'react';
2
+ export declare const Sizes: React.FC;
3
3
  //# sourceMappingURL=Sizes.d.ts.map
@@ -1,9 +1,9 @@
1
- export { Sizes } from './Sizes';
2
- export { HalfLeading } from './HalfLeading';
3
- export declare const utilityClasses: Record<string, Record<string, unknown>>;
4
- declare type SizeClassValue = Readonly<{
5
- 'font-size': string;
6
- 'line-height': string;
7
- }>;
8
- export declare const sizeClasses: Record<string, SizeClassValue>;
1
+ export { Sizes } from './Sizes';
2
+ export { HalfLeading } from './HalfLeading';
3
+ export declare const utilityClasses: Record<string, Record<string, unknown>>;
4
+ type SizeClassValue = Readonly<{
5
+ 'font-size': string;
6
+ 'line-height': string;
7
+ }>;
8
+ export declare const sizeClasses: Record<string, SizeClassValue>;
9
9
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/docs/typography/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAC/B,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAW3C,eAAO,MAAM,cAAc,yCAAiC,CAAA;AAE5D,aAAK,cAAc,GAAG,QAAQ,CAAC;IAC7B,WAAW,EAAE,MAAM,CAAA;IACnB,aAAa,EAAE,MAAM,CAAA;CACtB,CAAC,CAAA;AACF,eAAO,MAAM,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,cAAc,CAIpB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/docs/typography/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAC/B,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAW3C,eAAO,MAAM,cAAc,yCAAiC,CAAA;AAE5D,KAAK,cAAc,GAAG,QAAQ,CAAC;IAC7B,WAAW,EAAE,MAAM,CAAA;IACnB,aAAa,EAAE,MAAM,CAAA;CACtB,CAAC,CAAA;AACF,eAAO,MAAM,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,cAAc,CAIpB,CAAA"}
@@ -1,6 +1,6 @@
1
- import { Effect } from '@charcoal-ui/foundation';
2
- import { CharcoalTheme as Theme } from '@charcoal-ui/theme';
3
- export declare const GRID_COUNT = 12;
4
- export declare function mergeEffect({ elementEffect, effect, }: Pick<Theme, 'elementEffect' | 'effect'>): MergedEffect;
5
- export declare type MergedEffect = Record<string, Effect>;
1
+ import { Effect } from '@charcoal-ui/foundation';
2
+ import { CharcoalTheme as Theme } from '@charcoal-ui/theme';
3
+ export declare const GRID_COUNT = 12;
4
+ export declare function mergeEffect({ elementEffect, effect, }: Pick<Theme, 'elementEffect' | 'effect'>): MergedEffect;
5
+ export type MergedEffect = Record<string, Effect>;
6
6
  //# sourceMappingURL=foundation.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"foundation.d.ts","sourceRoot":"","sources":["../src/foundation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAA;AAChD,OAAO,EAAE,aAAa,IAAI,KAAK,EAAE,MAAM,oBAAoB,CAAA;AAE3D,eAAO,MAAM,UAAU,KAAK,CAAA;AAE5B,wBAAgB,WAAW,CAAC,EAC1B,aAAa,EACb,MAAM,GACP,EAAE,IAAI,CAAC,KAAK,EAAE,eAAe,GAAG,QAAQ,CAAC,GAAG,YAAY,CASxD;AAED,oBAAY,YAAY,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA"}
1
+ {"version":3,"file":"foundation.d.ts","sourceRoot":"","sources":["../src/foundation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAA;AAChD,OAAO,EAAE,aAAa,IAAI,KAAK,EAAE,MAAM,oBAAoB,CAAA;AAE3D,eAAO,MAAM,UAAU,KAAK,CAAA;AAE5B,wBAAgB,WAAW,CAAC,EAC1B,aAAa,EACb,MAAM,GACP,EAAE,IAAI,CAAC,KAAK,EAAE,eAAe,GAAG,QAAQ,CAAC,GAAG,YAAY,CASxD;AAED,MAAM,MAAM,YAAY,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA"}
@@ -1,19 +1,19 @@
1
- import { GradientMaterial } from '@charcoal-ui/foundation';
2
- import { ThemeColorGradient } from '@charcoal-ui/theme';
3
- import { MergedEffect } from '../foundation';
4
- export default function cssVariableColorPlugin(gradients: ThemeColorGradient, effects: MergedEffect, selectorOrMediaQuery: string): import("tailwindcss/plugin").TailwindPlugin;
5
- /**
6
- * こういう感じのやつ。この時点では `--tailwind-gradient-` のような CSS 変数名になってない
7
- *
8
- * ```js
9
- * {
10
- * 'hoge1': 'linear-gradient(to top, ...)',
11
- * ...
12
- * }
13
- * ```
14
- */
15
- declare type Utilities = Record<string, LinearGradient>;
16
- declare type LinearGradient = `linear-gradient(${string})`;
17
- export declare function getUtilities(gradients: Record<string, GradientMaterial>, effect: MergedEffect): Utilities;
18
- export {};
1
+ import { GradientMaterial } from '@charcoal-ui/foundation';
2
+ import { ThemeColorGradient } from '@charcoal-ui/theme';
3
+ import { MergedEffect } from '../foundation';
4
+ export default function cssVariableColorPlugin(gradients: ThemeColorGradient, effects: MergedEffect, selectorOrMediaQuery: string): import("tailwindcss/plugin").TailwindPlugin;
5
+ /**
6
+ * こういう感じのやつ。この時点では `--tailwind-gradient-` のような CSS 変数名になってない
7
+ *
8
+ * ```js
9
+ * {
10
+ * 'hoge1': 'linear-gradient(to top, ...)',
11
+ * ...
12
+ * }
13
+ * ```
14
+ */
15
+ type Utilities = Record<string, LinearGradient>;
16
+ type LinearGradient = `linear-gradient(${string})`;
17
+ export declare function getUtilities(gradients: Record<string, GradientMaterial>, effect: MergedEffect): Utilities;
18
+ export {};
19
19
  //# sourceMappingURL=plugin.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../../src/gradient/plugin.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;AAC1D,OAAO,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAA;AAUvD,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAI5C,MAAM,CAAC,OAAO,UAAU,sBAAsB,CAC5C,SAAS,EAAE,kBAAkB,EAC7B,OAAO,EAAE,YAAY,EACrB,oBAAoB,EAAE,MAAM,+CA8B7B;AASD;;;;;;;;;GASG;AACH,aAAK,SAAS,GAAG,MAAM,CAAC,MAAM,EAAE,cAAc,CAAC,CAAA;AAE/C,aAAK,cAAc,GAAG,mBAAmB,MAAM,GAAG,CAAA;AAElD,wBAAgB,YAAY,CAC1B,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,gBAAgB,CAAC,EAC3C,MAAM,EAAE,YAAY,GACnB,SAAS,CAqCX"}
1
+ {"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../../src/gradient/plugin.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;AAC1D,OAAO,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAA;AAUvD,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAI5C,MAAM,CAAC,OAAO,UAAU,sBAAsB,CAC5C,SAAS,EAAE,kBAAkB,EAC7B,OAAO,EAAE,YAAY,EACrB,oBAAoB,EAAE,MAAM,+CA8B7B;AASD;;;;;;;;;GASG;AACH,KAAK,SAAS,GAAG,MAAM,CAAC,MAAM,EAAE,cAAc,CAAC,CAAA;AAE/C,KAAK,cAAc,GAAG,mBAAmB,MAAM,GAAG,CAAA;AAElD,wBAAgB,YAAY,CAC1B,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,gBAAgB,CAAC,EAC3C,MAAM,EAAE,YAAY,GACnB,SAAS,CAqCX"}
@@ -1,2 +1,2 @@
1
- export {};
1
+ export {};
2
2
  //# sourceMappingURL=plugin.test.d.ts.map