@quicktvui/naddons 1.0.0-rc.1 → 1.0.0-rc.3

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 (30) hide show
  1. package/dist/components/GridTabs/GridTabs.vue.d.ts +6 -0
  2. package/dist/components/GridTabs/useGridTabs.d.ts +1 -0
  3. package/dist/components/HsvBackground/HsvBackground.vue.d.ts +7 -19
  4. package/dist/components/HsvBackground/index.d.ts +9 -2
  5. package/dist/components/NaButton/NaButton.vue.d.ts +24 -0
  6. package/dist/components/NaButton/NaButtonBase.vue.d.ts +60 -0
  7. package/dist/components/NaButton/index.d.ts +13 -0
  8. package/dist/components/NaCheckbox/NaCheckbox.vue.d.ts +108 -0
  9. package/dist/components/NaCheckbox/index.d.ts +13 -0
  10. package/dist/components/NaCheckboxGroup/NaCheckboxGroup.vue.d.ts +103 -0
  11. package/dist/components/NaCheckboxGroup/index.d.ts +13 -0
  12. package/dist/components/NaInputView/NaInputView.vue.d.ts +42 -0
  13. package/dist/components/NaInputView/NaInputViewBase.vue.d.ts +46 -0
  14. package/dist/components/NaInputView/index.d.ts +13 -0
  15. package/dist/components/NaRadioGroup/NaRadioGroup.vue.d.ts +103 -0
  16. package/dist/components/NaRadioGroup/index.d.ts +13 -0
  17. package/dist/components/NaSettingSwitch/NaSettingSwitch.vue.d.ts +111 -0
  18. package/dist/components/NaSettingSwitch/index.d.ts +6 -0
  19. package/dist/components/NaSwitcher/NaSwitcher.vue.d.ts +50 -0
  20. package/dist/components/NaSwitcher/index.d.ts +13 -0
  21. package/dist/core/AddonProvider.d.ts +13 -0
  22. package/dist/index.d.ts +28 -1
  23. package/dist/modules/AddonEnvModule.d.ts +4 -0
  24. package/dist/modules/ExtraUIConfigModule.d.ts +7 -0
  25. package/dist/modules/GridTabsConfigModule.d.ts +7 -0
  26. package/dist/naddons.cjs.js +1 -1
  27. package/dist/naddons.es.js +1500 -701
  28. package/dist/style.css +1 -0
  29. package/dist/types/index.d.ts +50 -0
  30. package/package.json +1 -1
package/dist/style.css ADDED
@@ -0,0 +1 @@
1
+ .na-radio-group[data-v-448252ff],.na-checkbox-group[data-v-cf6a4eaa]{background-color:transparent}
@@ -0,0 +1,50 @@
1
+ export interface ExtraUIThemeConfig {
2
+ /** 默认主色 */
3
+ primaryColor?: string;
4
+ /** 默认焦点边框颜色 */
5
+ focusBorderColor?: string;
6
+ /** 默认焦点背景色 */
7
+ focusBackgroundColor?: string;
8
+ /** 默认圆角,例如 8 */
9
+ cornerRadius?: number;
10
+ /** 默认主文字颜色 */
11
+ primaryTextColor?: string;
12
+ /** 默认副文字颜色 */
13
+ secondaryTextColor?: string;
14
+ /** 默认焦点文字颜色 */
15
+ focusTextColor?: string;
16
+ /** 默认选择状态文字颜色 */
17
+ selectedTextColor?: string;
18
+ /** 默认选择状态背景色 */
19
+ selectedBackgroundColor?: string;
20
+ /** 默认占位色 */
21
+ placeholderColor?: string;
22
+ /** 默认按钮背景色 */
23
+ buttonNormalBackgroundColor?: string;
24
+ buttonCornerRadius?: number;
25
+ glowColor?: string;
26
+ outerBorderColor?: string;
27
+ innerBorderColor?: string;
28
+ enableElevationShadow?: boolean;
29
+ }
30
+ export interface GridTabsGlobalConfig {
31
+ themeConfig?: {
32
+ selectedBackgroundColor?: string;
33
+ focusBackgroundColor?: string;
34
+ buttonNormalBackgroundColor?: string;
35
+ /** 骨架屏占位色,例如 "#1AFFFFFF" */
36
+ placeholderColor?: string;
37
+ /** 焦点阴影发光色,例如 "#FF000000" */
38
+ glowColor?: string;
39
+ /** 焦点外边框颜色,例如 "#FFFFFFFF" */
40
+ outerBorderColor?: string;
41
+ /** 焦点内边框颜色,例如 "#1A1A1A" */
42
+ innerBorderColor?: string;
43
+ /** 是否开启海拔阴影 (Elevation Shadow) */
44
+ enableElevationShadow?: boolean;
45
+ cornerRadius?: number;
46
+ buttonCornerRadius?: number;
47
+ };
48
+ loadingConfig?: Record<string, any>;
49
+ contentConfig?: Record<string, any>;
50
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quicktvui/naddons",
3
- "version": "1.0.0-rc.1",
3
+ "version": "1.0.0-rc.3",
4
4
  "description": "Vue 3 wrappers for QuickTVUI Native Addons",
5
5
  "main": "dist/naddons.cjs.js",
6
6
  "module": "dist/naddons.es.js",