@dcodegroup-au/dsg-vue 1.0.0-next.1 → 1.0.2-next

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 (59) hide show
  1. package/README.md +4 -5
  2. package/dist/DsgLabel.vue_vue_type_style_index_0_lang-CzkVjbOp.js +26 -0
  3. package/dist/DsgLabel.vue_vue_type_style_index_0_lang-WrIgmJyQ.cjs +1 -0
  4. package/dist/{DsgTablePerPage.vue_vue_type_style_index_0_lang-CmNG2Wig.cjs → DsgTablePerPage.vue_vue_type_style_index_0_lang-eTosSqko.cjs} +1217 -1197
  5. package/dist/{DsgTablePerPage.vue_vue_type_style_index_0_lang-BoJ6hpYL.js → DsgTablePerPage.vue_vue_type_style_index_0_lang-gN_n5gOu.js} +5742 -5750
  6. package/dist/components/Elements/DsgAccordion.vue.d.ts +0 -1
  7. package/dist/components/Elements/DsgAvatar.vue.d.ts +0 -1
  8. package/dist/components/Elements/DsgBadge.vue.d.ts +0 -1
  9. package/dist/components/Elements/DsgButton.vue.d.ts +0 -1
  10. package/dist/components/Elements/DsgCard.vue.d.ts +1 -2
  11. package/dist/components/Elements/DsgCardContainer.vue.d.ts +1 -1
  12. package/dist/components/Elements/DsgCheckbox.vue.d.ts +0 -1
  13. package/dist/components/Elements/DsgCheckboxGroup.vue.d.ts +2 -2
  14. package/dist/components/Elements/DsgDropdown.vue.d.ts +0 -5
  15. package/dist/components/Elements/DsgInput.vue.d.ts +0 -1
  16. package/dist/components/Elements/DsgLabel.vue.d.ts +1 -2
  17. package/dist/components/Elements/DsgProgress.vue.d.ts +1 -1
  18. package/dist/components/Elements/DsgTag.vue.d.ts +0 -1
  19. package/dist/components/Elements/DsgToggle.vue.d.ts +1 -2
  20. package/dist/components/Elements/ElementComponents.d.ts +1 -3
  21. package/dist/components/Icons/DsgCreditCardIcon.vue.d.ts +0 -1
  22. package/dist/components/Icons/DsgIcon.vue.d.ts +0 -2
  23. package/dist/components/Icons/DsgMiscIcon.vue.d.ts +0 -1
  24. package/dist/components/Table/DsgTableActions.vue.d.ts +11 -56
  25. package/dist/dsg-vue.cjs +32 -11
  26. package/dist/dsg-vue.css +2 -2
  27. package/dist/dsg-vue.editor.cjs +33 -33
  28. package/dist/dsg-vue.editor.esm.js +6 -7
  29. package/dist/dsg-vue.esm.js +2969 -3061
  30. package/dist/dsg-vue.table.cjs +2 -2
  31. package/dist/dsg-vue.table.esm.js +539 -529
  32. package/dist/main.d.ts +4 -82
  33. package/package.json +5 -2
  34. package/vite.config.ts +10 -7
  35. package/dist/DsgColoursConfig-BseFo6-R.js +0 -450
  36. package/dist/DsgColoursConfig-D7UiFGB5.cjs +0 -1
  37. package/dist/DsgLabel.vue_vue_type_style_index_0_lang-BYL1w85l.js +0 -28
  38. package/dist/DsgLabel.vue_vue_type_style_index_0_lang-DAM6oT0f.cjs +0 -1
  39. package/dist/_commonjsHelpers-C6fGbg64.js +0 -6
  40. package/dist/_commonjsHelpers-DwGv2jUC.cjs +0 -1
  41. package/dist/components/Elements/DsgInputDropdown.vue.d.ts +0 -30
  42. package/dist/components/Elements/DsgLink.vue.d.ts +0 -36
  43. package/dist/dsg-vue.tailwind.cjs +0 -1
  44. package/dist/dsg-vue.tailwind.esm.js +0 -610
  45. package/dist/tailwind/plugins/DsgBackdropBlurPlugin.d.ts +0 -15
  46. package/dist/tailwind/plugins/DsgColoursPlugin.d.ts +0 -15
  47. package/dist/tailwind/plugins/DsgContainerPlugin.d.ts +0 -15
  48. package/dist/tailwind/plugins/DsgFocusRingPlugin.d.ts +0 -28
  49. package/dist/tailwind/plugins/DsgFontFamilyPlugin.d.ts +0 -15
  50. package/dist/tailwind/plugins/DsgGradientPlugin.d.ts +0 -15
  51. package/dist/tailwind/plugins/DsgHeightPlugin.d.ts +0 -15
  52. package/dist/tailwind/plugins/DsgRadiusPlugin.d.ts +0 -15
  53. package/dist/tailwind/plugins/DsgScreenPlugin.d.ts +0 -15
  54. package/dist/tailwind/plugins/DsgShadowsPlugin.d.ts +0 -15
  55. package/dist/tailwind/plugins/DsgSpacingPlugin.d.ts +0 -15
  56. package/dist/tailwind/plugins/DsgTypographyPlugin.d.ts +0 -80
  57. package/dist/tailwind/plugins/DsgWidthPlugin.d.ts +0 -15
  58. package/dist/tailwind/plugins/PluginCore.d.ts +0 -17
  59. package/dist/tailwind.d.ts +0 -866
package/dist/main.d.ts CHANGED
@@ -345,9 +345,9 @@ export declare const DsgCheckboxGroup: {
345
345
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
346
346
  "update:modelValue": (value: import('./main').DsgCheckboxModelType) => any;
347
347
  }, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
348
- $slots: Partial<Record<`dsg-checkbox-group--panel-title--${string}`, (_: {
348
+ $slots: Partial<Record<`dsg-checkbox-group__panel-title--${string}`, (_: {
349
349
  data: import('./main').DsgCheckboxGroupOption;
350
- }) => any>> & Partial<Record<`dsg-checkbox-group--panel-subtext--${string}`, (_: {}) => any>> & {
350
+ }) => any>> & Partial<Record<`dsg-checkbox-group__panel-subtext--${string}`, (_: {}) => any>> & {
351
351
  'dsg-checkbox-group--header'?(_: {}): any;
352
352
  };
353
353
  });
@@ -855,7 +855,6 @@ export declare const DsgDropdown: {
855
855
  readonly theme?: import('./main').DsgAvatarTheme | undefined;
856
856
  readonly isOnline?: boolean | undefined;
857
857
  readonly uri?: string | undefined | undefined;
858
- readonly classes?: string | undefined;
859
858
  readonly companyLogoUri?: string | undefined | undefined;
860
859
  readonly preventDefault?: boolean | undefined;
861
860
  readonly title?: string | undefined;
@@ -937,7 +936,6 @@ export declare const DsgDropdown: {
937
936
  readonly disabled?: boolean | undefined;
938
937
  readonly iconBefore?: string | null | undefined;
939
938
  readonly iconAfter?: string | null | undefined;
940
- readonly classes?: string | undefined;
941
939
  readonly width?: import('./main').DsgButtonWidth | undefined;
942
940
  readonly uri?: string | null | undefined;
943
941
  readonly targetUri?: import('./main').DsgButtonTargetUri | undefined;
@@ -1315,15 +1313,6 @@ export declare const DsgInputSelect: {
1315
1313
  };
1316
1314
  };
1317
1315
  });
1318
- export declare const DsgInputDropdown: import('vue').DefineComponent<{
1319
- modelValue?: string;
1320
- } & import('./main').DsgInputDropdownProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
1321
- "update:modelValue": (value: string) => any;
1322
- }, string, import('vue').PublicProps, Readonly<{
1323
- modelValue?: string;
1324
- } & import('./main').DsgInputDropdownProps> & Readonly<{
1325
- "onUpdate:modelValue"?: ((value: string) => any) | undefined;
1326
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSelectElement>;
1327
1316
  export declare const DsgDatepicker: import('vue').DefineComponent<{
1328
1317
  modelValue?: import('./main').DsgDatepickerValue;
1329
1318
  } & import('./main').DsgDatepickerProps, {
@@ -1797,33 +1786,6 @@ export declare const DsgLabel: {
1797
1786
  'dsg-label-text'?(_: {}): any;
1798
1787
  };
1799
1788
  });
1800
- export declare const DsgLink: {
1801
- new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./main').DsgLinkProps> & Readonly<{
1802
- "onLink-clicked"?: ((clickEvent: Event) => any) | undefined;
1803
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
1804
- "link-clicked": (clickEvent: Event) => any;
1805
- }, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLAnchorElement, import('vue').ComponentProvideOptions, {
1806
- P: {};
1807
- B: {};
1808
- D: {};
1809
- C: {};
1810
- M: {};
1811
- Defaults: {};
1812
- }, Readonly<import('./main').DsgLinkProps> & Readonly<{
1813
- "onLink-clicked"?: ((clickEvent: Event) => any) | undefined;
1814
- }>, {}, {}, {}, {}, {}>;
1815
- __isFragment?: never;
1816
- __isTeleport?: never;
1817
- __isSuspense?: never;
1818
- } & import('vue').ComponentOptionsBase<Readonly<import('./main').DsgLinkProps> & Readonly<{
1819
- "onLink-clicked"?: ((clickEvent: Event) => any) | undefined;
1820
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
1821
- "link-clicked": (clickEvent: Event) => any;
1822
- }, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
1823
- $slots: {
1824
- 'dsg-link-content'?(_: {}): any;
1825
- };
1826
- });
1827
1789
  export declare const DsgModal: {
1828
1790
  new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./main').DsgModalProps> & Readonly<{
1829
1791
  "onBefore-open"?: (() => any) | undefined;
@@ -2854,11 +2816,9 @@ export type { DsgCheckboxGroupProps, DsgCheckboxGroupOption, DsgCheckboxGroupSiz
2854
2816
  export type { DsgDropdownType, DsgDropdownHeaderType, DsgDropdownAvatar, DsgDropdownMenuItem, DsgDropdownProps } from './components/Elements/DsgDropdown.vue';
2855
2817
  export type { DsgInputProps, DsgInputCurrencyPair, DsgInputPhoneFormat, DsgInputValidationPattern, DsgInputSize, DsgInputTheme, DsgInputTooltipTheme, DsgInputType, DsgInputWidth, } from './components/Elements/DsgInput.vue';
2856
2818
  export type { DsgInputSelectOption, DsgInputSelectProps } from './components/Elements/DsgInputSelect.vue';
2857
- export type { DsgInputDropdownProps } from './components/Elements/DsgInputDropdown.vue';
2858
2819
  export type { DsgDatepickerType, DsgDatepickerValue, DsgDatepickerRangeConfig, DsgDatepickerSize, DsgDatepickerModelType, DsgDatepickerProps, DsgDatepickerFloatingConfig, DsgDatepickerTimeConfig, DsgDatepickerFormatsConfig, DsgUiClasses, } from './components/Elements/DsgDatepicker.vue';
2859
2820
  export type { DsgSliderProps, DsgSliderType, DsgSliderLabelPosition, DsgSliderValue } from './components/Elements/DsgSlider.vue';
2860
2821
  export type { DsgLabelProps, DsgLabelSize } from './components/Elements/DsgLabel.vue';
2861
- export type { DsgLinkProps, DsgLinkSize, DsgLinkTargetUri } from './components/Elements/DsgLink.vue';
2862
2822
  export type { DsgModalProps, DsgModalType, DsgModalFooterType } from './components/Elements/DsgModal.vue';
2863
2823
  export type { DsgTagProps, DsgTagSize } from './components/Elements/DsgTag.vue';
2864
2824
  export type { DsgToggleProps, DsgToggleSize } from './components/Elements/DsgToggle.vue';
@@ -3146,9 +3106,9 @@ declare const _default: {
3146
3106
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
3147
3107
  "update:modelValue": (value: import('./main').DsgCheckboxModelType) => any;
3148
3108
  }, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
3149
- $slots: Partial<Record<`dsg-checkbox-group--panel-title--${string}`, (_: {
3109
+ $slots: Partial<Record<`dsg-checkbox-group__panel-title--${string}`, (_: {
3150
3110
  data: import('./main').DsgCheckboxGroupOption;
3151
- }) => any>> & Partial<Record<`dsg-checkbox-group--panel-subtext--${string}`, (_: {}) => any>> & {
3111
+ }) => any>> & Partial<Record<`dsg-checkbox-group__panel-subtext--${string}`, (_: {}) => any>> & {
3152
3112
  'dsg-checkbox-group--header'?(_: {}): any;
3153
3113
  };
3154
3114
  });
@@ -3656,7 +3616,6 @@ declare const _default: {
3656
3616
  readonly theme?: import('./main').DsgAvatarTheme | undefined;
3657
3617
  readonly isOnline?: boolean | undefined;
3658
3618
  readonly uri?: string | undefined | undefined;
3659
- readonly classes?: string | undefined;
3660
3619
  readonly companyLogoUri?: string | undefined | undefined;
3661
3620
  readonly preventDefault?: boolean | undefined;
3662
3621
  readonly title?: string | undefined;
@@ -3738,7 +3697,6 @@ declare const _default: {
3738
3697
  readonly disabled?: boolean | undefined;
3739
3698
  readonly iconBefore?: string | null | undefined;
3740
3699
  readonly iconAfter?: string | null | undefined;
3741
- readonly classes?: string | undefined;
3742
3700
  readonly width?: import('./main').DsgButtonWidth | undefined;
3743
3701
  readonly uri?: string | null | undefined;
3744
3702
  readonly targetUri?: import('./main').DsgButtonTargetUri | undefined;
@@ -4116,15 +4074,6 @@ declare const _default: {
4116
4074
  };
4117
4075
  };
4118
4076
  });
4119
- DsgInputDropdown: import('vue').DefineComponent<{
4120
- modelValue?: string;
4121
- } & import('./main').DsgInputDropdownProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
4122
- "update:modelValue": (value: string) => any;
4123
- }, string, import('vue').PublicProps, Readonly<{
4124
- modelValue?: string;
4125
- } & import('./main').DsgInputDropdownProps> & Readonly<{
4126
- "onUpdate:modelValue"?: ((value: string) => any) | undefined;
4127
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSelectElement>;
4128
4077
  DsgDatepicker: import('vue').DefineComponent<{
4129
4078
  modelValue?: import('./main').DsgDatepickerValue;
4130
4079
  } & import('./main').DsgDatepickerProps, {
@@ -4598,33 +4547,6 @@ declare const _default: {
4598
4547
  'dsg-label-text'?(_: {}): any;
4599
4548
  };
4600
4549
  });
4601
- DsgLink: {
4602
- new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./main').DsgLinkProps> & Readonly<{
4603
- "onLink-clicked"?: ((clickEvent: Event) => any) | undefined;
4604
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
4605
- "link-clicked": (clickEvent: Event) => any;
4606
- }, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLAnchorElement, import('vue').ComponentProvideOptions, {
4607
- P: {};
4608
- B: {};
4609
- D: {};
4610
- C: {};
4611
- M: {};
4612
- Defaults: {};
4613
- }, Readonly<import('./main').DsgLinkProps> & Readonly<{
4614
- "onLink-clicked"?: ((clickEvent: Event) => any) | undefined;
4615
- }>, {}, {}, {}, {}, {}>;
4616
- __isFragment?: never;
4617
- __isTeleport?: never;
4618
- __isSuspense?: never;
4619
- } & import('vue').ComponentOptionsBase<Readonly<import('./main').DsgLinkProps> & Readonly<{
4620
- "onLink-clicked"?: ((clickEvent: Event) => any) | undefined;
4621
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
4622
- "link-clicked": (clickEvent: Event) => any;
4623
- }, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
4624
- $slots: {
4625
- 'dsg-link-content'?(_: {}): any;
4626
- };
4627
- });
4628
4550
  DsgModal: {
4629
4551
  new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./main').DsgModalProps> & Readonly<{
4630
4552
  "onBefore-open"?: (() => any) | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@dcodegroup-au/dsg-vue",
3
3
  "description": "Front-end Vue/Tailwind DSG for UntitledUI.",
4
- "version": "1.0.0-next.1",
4
+ "version": "1.0.2-next",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "preinstall": "npx only-allow pnpm",
@@ -135,7 +135,7 @@
135
135
  "sass": "^1.99.0",
136
136
  "semantic-release": "^24.2.9",
137
137
  "storybook": "^8.6.18",
138
- "tailwindcss": "^3.4.19",
138
+ "tailwindcss": "^4.2.2",
139
139
  "typescript": "^5.9.3",
140
140
  "typescript-eslint": "^8.59.2",
141
141
  "ua-parser-js": "^2.0.9",
@@ -166,5 +166,8 @@
166
166
  "overrides": {
167
167
  "axios": "1.13.6"
168
168
  }
169
+ },
170
+ "dependencies": {
171
+ "@tailwindcss/vite": "^4.2.2"
169
172
  }
170
173
  }
package/vite.config.ts CHANGED
@@ -4,6 +4,8 @@ import vue from "@vitejs/plugin-vue";
4
4
  import svgLoader from "vite-svg-loader";
5
5
  import path from "node:path";
6
6
  import dts from "vite-plugin-dts";
7
+ import tailwindcss from "@tailwindcss/vite";
8
+ import { resolve } from "path";
7
9
 
8
10
  // # Build/Export: Vite Configuration
9
11
  export default defineConfig(({ command, mode }) => {
@@ -24,7 +26,7 @@ export default defineConfig(({ command, mode }) => {
24
26
  "dsg-vue": path.resolve(__dirname, "./src/main.ts"),
25
27
  editor: path.resolve(__dirname, "./src/editor.ts"),
26
28
  table: path.resolve(__dirname, "./src/table.ts"),
27
- tailwind: path.resolve(__dirname, "./src/tailwind.ts"),
29
+ // tailwind: path.resolve(__dirname, "./src/tailwind.ts"),
28
30
  helpers: path.resolve(__dirname, "./src/utilities/General.ts"),
29
31
  "helpers-string": path.resolve(__dirname, "./src/utilities/Strings.ts"),
30
32
  "helpers-object": path.resolve(__dirname, "./src/utilities/Objects.ts"),
@@ -52,7 +54,6 @@ export default defineConfig(({ command, mode }) => {
52
54
  "~": path.resolve(__dirname),
53
55
  "~nm": path.resolve(__dirname, "./node_modules"),
54
56
  "@components": path.resolve(__dirname, "src/components"),
55
- "@tailwind": path.resolve(__dirname, "src/tailwind"),
56
57
  "@tw": path.resolve(__dirname, "src/tailwind"),
57
58
  "@twplugin": path.resolve(__dirname, "src/tailwind/plugins"),
58
59
  "@twconfig": path.resolve(__dirname, "src/tailwind/configuration"),
@@ -62,6 +63,7 @@ export default defineConfig(({ command, mode }) => {
62
63
  "@headers": path.resolve(__dirname, "src/components/Headers"),
63
64
  "@misc": path.resolve(__dirname, "src/components/Misc"),
64
65
  "@navigation": path.resolve(__dirname, "src/components/Navigation"),
66
+ "@tailwind": resolve(__dirname, "src/tailwind"),
65
67
  // "vue": "vue/dist/vue.esm-bundler.js",
66
68
  },
67
69
  },
@@ -69,6 +71,7 @@ export default defineConfig(({ command, mode }) => {
69
71
  publicDir: "public",
70
72
  plugins: [
71
73
  vue(),
74
+ tailwindcss(),
72
75
  dts({
73
76
  tsconfigPath: "./tsconfig.json",
74
77
  exclude: ["**/tests/**/*", "demo/**/*.ts", "demo/**/*.vue", "docs/**/*.ts", "docs/**/*.vue", "node_modules", "dist"],
@@ -77,12 +80,12 @@ export default defineConfig(({ command, mode }) => {
77
80
  ],
78
81
  test: {
79
82
  globals: true,
80
- environment: 'jsdom',
81
- setupFiles: './tests/setup.ts',
82
- include: ['tests/**/*.test.ts'],
83
+ environment: "jsdom",
84
+ setupFiles: "./tests/setup.ts",
85
+ include: ["tests/**/*.test.ts"],
83
86
  coverage: {
84
- reporter: ['text', 'html'],
87
+ reporter: ["text", "html"],
85
88
  },
86
- },
89
+ },
87
90
  } satisfies UserConfig;
88
91
  });