@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/README.md CHANGED
@@ -154,7 +154,7 @@ export default defineConfig(({ command, mode }) => {
154
154
 
155
155
  ## Usage: Tailwind Configuration
156
156
 
157
- To configure the Tailwind CSS portion of the package, you will need to create a `tailwind.config.ts` file in the root of your project. Then you will need to extend the `dsg-vue` Tailwind configurations/plugins to match your project Figma/design guidelines.
157
+ To configure the Tailwind CSS portion of the package, you will need to create a `_tailwind.config.ts` file in the root of your project. Then you will need to extend the `dsg-vue` Tailwind configurations/plugins to match your project Figma/design guidelines.
158
158
 
159
159
  <br />
160
160
 
@@ -204,7 +204,7 @@ To use the Vue components within the package, you will need to import them direc
204
204
  type="email"
205
205
  placeholder="jane.doe@example.org"
206
206
  name="email"
207
- classes="form-input username"
207
+ class="form-input username"
208
208
  icon="mail-01"
209
209
  tool-tip="This is your username or email address."
210
210
  :has-tooltip="true"
@@ -218,7 +218,6 @@ To use the Vue components within the package, you will need to import them direc
218
218
  :preventDefault="true"
219
219
  theme="brand"
220
220
  aria-label="This is an aria-label"
221
- classes=""
222
221
  @button-clicked="loginClicked"
223
222
  />
224
223
  </div>
@@ -278,7 +277,7 @@ Within the `dsgTailwind` export, you will find a list of Tailwind CSS plugins th
278
277
  - `DsgShadowsPlugin`
279
278
  - `DsgFocusRingsPlugin`
280
279
 
281
- To exclude or only use specific plugins, you can import them directly from the `dsg-vue` package and add them to the `plugins` array in the `tailwind.config.ts` file instead of using the `dsgTailwind` export as shown above.
280
+ To exclude or only use specific plugins, you can import them directly from the `dsg-vue` package and add them to the `plugins` array in the `_tailwind.config.ts` file instead of using the `dsgTailwind` export as shown above.
282
281
 
283
282
  <br />
284
283
 
@@ -293,7 +292,7 @@ Within the package, there are also two extensible components that house the them
293
292
  - `DsgColours`
294
293
  - `DsgFontFamily`
295
294
 
296
- To extend these components, you can import them directly from the `dsg-vue` package and add them to the `theme` object in the `tailwind.config.ts` file as shown above.
295
+ To extend these components, you can import them directly from the `dsg-vue` package and add them to the `theme` object in the `_tailwind.config.ts` file as shown above.
297
296
 
298
297
 
299
298
  <br />
@@ -0,0 +1,26 @@
1
+ import { defineComponent as t, openBlock as a, createElementBlock as o, normalizeClass as r, renderSlot as s, createTextVNode as n, toDisplayString as d } from "vue";
2
+ function b(e) {
3
+ return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
4
+ }
5
+ const c = ["for"], i = /* @__PURE__ */ t({
6
+ __name: "DsgLabel",
7
+ props: {
8
+ label: { default: "" },
9
+ labelFor: { default: "" },
10
+ size: { default: "md" }
11
+ },
12
+ setup(e) {
13
+ return (l, f) => (a(), o("label", {
14
+ for: e.labelFor,
15
+ class: r(`dsg-label dsg-label--${e.size}`)
16
+ }, [
17
+ s(l.$slots, "dsg-label-text", {}, () => [
18
+ n(d(e.label), 1)
19
+ ])
20
+ ], 10, c));
21
+ }
22
+ });
23
+ export {
24
+ i as _,
25
+ b as g
26
+ };
@@ -0,0 +1 @@
1
+ "use strict";const t=require("vue");function a(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}const o=["for"],r=t.defineComponent({__name:"DsgLabel",props:{label:{default:""},labelFor:{default:""},size:{default:"md"}},setup(e){return(l,s)=>(t.openBlock(),t.createElementBlock("label",{for:e.labelFor,class:t.normalizeClass(`dsg-label dsg-label--${e.size}`)},[t.renderSlot(l.$slots,"dsg-label-text",{},()=>[t.createTextVNode(t.toDisplayString(e.label),1)])],10,o))}});exports._sfc_main=r;exports.getDefaultExportFromCjs=a;