@citruslime/ui 3.0.1-beta.8 → 3.0.1

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 (32) hide show
  1. package/dist/citrus-lime-ui.es.js +3781 -2908
  2. package/dist/citrus-lime-ui.umd.js +2 -2
  3. package/dist/components/grid/body/cl-ui-grid-body.vue.d.ts +18 -12
  4. package/dist/components/grid/body/cl-ui-grid-cell.vue.d.ts +3 -1
  5. package/dist/components/grid/body/cl-ui-grid-row.vue.d.ts +3 -1
  6. package/dist/components/grid/header/cl-ui-grid-filter.vue.d.ts +3 -1
  7. package/dist/components/grid/header/cl-ui-grid-header.vue.d.ts +3 -1
  8. package/dist/components/grid/header/cl-ui-grid-method-selector.vue.d.ts +2 -0
  9. package/dist/components/grid/types.d.ts +2 -0
  10. package/dist/components/grid-lite/body/cl-ui-grid-lite-body-skeleton.vue.d.ts +19 -0
  11. package/dist/components/grid-lite/body/cl-ui-grid-lite-body.vue.d.ts +66 -0
  12. package/dist/components/grid-lite/body/cl-ui-grid-lite-cell.vue.d.ts +28 -0
  13. package/dist/components/grid-lite/body/cl-ui-grid-lite-row.vue.d.ts +32 -0
  14. package/dist/components/grid-lite/cl-ui-grid-lite.vue.d.ts +79 -0
  15. package/dist/components/grid-lite/footer/cl-ui-grid-lite-footer-skeleton.vue.d.ts +2 -0
  16. package/dist/components/grid-lite/footer/cl-ui-grid-lite-footer.vue.d.ts +53 -0
  17. package/dist/components/grid-lite/header/cl-ui-grid-lite-header.vue.d.ts +55 -0
  18. package/dist/components/grid-lite/index.d.ts +9 -0
  19. package/dist/components/grid-lite/types.d.ts +30 -0
  20. package/dist/components/grid-lite/utils.d.ts +8 -0
  21. package/dist/components/index.d.ts +2 -0
  22. package/dist/components/input-v2/input-datetime/cl-ui-input-datetime.vue.d.ts +9 -0
  23. package/dist/components/input-v2/input-number/cl-ui-input-number.vue.d.ts +0 -2
  24. package/dist/components/select/cl-ui-select.vue.d.ts +102 -0
  25. package/dist/components/select/index.d.ts +3 -0
  26. package/dist/components/select/select-input/cl-ui-select-input.vue.d.ts +23 -0
  27. package/dist/components/select/select-options/cl-ui-select-option.vue.d.ts +47 -0
  28. package/dist/components/select/types.d.ts +4 -0
  29. package/dist/style.css +1 -1
  30. package/dist/utils/dates.d.ts +2 -2
  31. package/dist/utils/i18n/numbers.d.ts +11 -0
  32. package/package.json +3 -3
@@ -48,11 +48,11 @@ export declare function generateDatePickerMask(locale: string, type: CalendarTyp
48
48
  /**
49
49
  * Gets the popover options for V-Calendar components.
50
50
  *
51
- * @param isInputDisabled - Whether the input is disabled.
51
+ * @param isNotVisible - Whether the popover will not be visible.
52
52
  * @param popoverPlacement - The popover placement option.
53
53
  * @returns The popover options.
54
54
  */
55
- export declare function getPopoverOptions(isInputDisabled: boolean, popoverPlacement: PopoverPlacement): boolean | Partial<PopoverOptions>;
55
+ export declare function getPopoverOptions(isNotVisible: boolean, popoverPlacement: PopoverPlacement): boolean | Partial<PopoverOptions>;
56
56
  /**
57
57
  * Gets the initial date, used to set the 'page' of the calendar shown when the calendar popover is opened.
58
58
  *
@@ -46,6 +46,17 @@ export declare function unformatNumber(value: string, format: ExtendedNumberForm
46
46
  * @returns An appropriate `NumberOptions` object.
47
47
  */
48
48
  export declare function getMergedFormatOptions(format: ExtendedNumberFormat, options?: NumberFormattingOptions): NumberOptions;
49
+ /**
50
+ * Checks if the given string value contains a part of a resolved number format. Note that some part types are not supported by this function, as this is mainly for checking for
51
+ * specific formatting and/or symbols.
52
+ *
53
+ * @param value The string value to check.
54
+ * @param part The `Intl` part type to check for.
55
+ * @param options The number formatting options to use.
56
+ *
57
+ * @returns `true` if the string contains a substring that matches the specified part, `false` otherwise.
58
+ */
59
+ export declare function doesNumberStringContainPart(value: string, part: Exclude<Intl.NumberFormatPartTypes, 'integer' | 'fraction' | 'literal' | 'nan' | 'infinity' | 'exponentInteger'>, options: NumberOptions): boolean;
49
60
  /**
50
61
  * Scrubs group separators from the formatted value.
51
62
  *
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@citruslime/ui",
3
3
  "type": "module",
4
- "version": "3.0.1-beta.8",
4
+ "version": "3.0.1",
5
5
  "author": {
6
6
  "name": "Citrus-Lime Ltd",
7
7
  "url": "https://citruslime.com"
@@ -31,8 +31,8 @@
31
31
  }
32
32
  },
33
33
  "dependencies": {
34
- "@citruslime/utils": "2.0.4-beta.0",
35
- "@citruslime/vue-utils": "2.0.1-beta.1",
34
+ "@citruslime/utils": "~2.0.4",
35
+ "@citruslime/vue-utils": "~2.0.1",
36
36
  "@iconify/vue": "^4.1.0",
37
37
  "@popperjs/core": "^2.11.8",
38
38
  "@vueuse/core": "^10.9.0",