@nuraly/runtime 0.1.0 → 0.1.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.
- package/components/ui/components/ToastContainer/ToastContainer.ts +8 -1
- package/components/ui/components/advanced/AIChat/AIChat.ts +20 -3
- package/components/ui/components/advanced/Collapse/Collapse.ts +8 -1
- package/components/ui/components/advanced/MicroApp/MicroApp.ts +9 -2
- package/components/ui/components/display/Badge/Badge.ts +8 -1
- package/components/ui/components/display/Divider/Divider.ts +9 -2
- package/components/ui/components/display/Icon/Icon.ts +9 -2
- package/components/ui/components/display/Image/Image.ts +9 -2
- package/components/ui/components/display/Table/Table.ts +9 -2
- package/components/ui/components/display/Tag/Tag.ts +8 -1
- package/components/ui/components/display/TextLabel/TextLabel.ts +9 -2
- package/components/ui/components/display/Video/Video.ts +9 -2
- package/components/ui/components/inputs/Button/Button.ts +7 -1
- package/components/ui/components/inputs/Checkbox/Checkbox.ts +9 -2
- package/components/ui/components/inputs/DatePicker/DatePicker.ts +15 -3
- package/components/ui/components/inputs/Dropdown/Dropdown.ts +8 -1
- package/components/ui/components/inputs/FileUpload/FileUpload.ts +9 -2
- package/components/ui/components/inputs/IconButton/iconbutton.ts +9 -2
- package/components/ui/components/inputs/InsertDropdown/InsertDropdown.ts +20 -3
- package/components/ui/components/inputs/NumberInput/NumberInput.ts +9 -2
- package/components/ui/components/inputs/Slider/Slider.ts +8 -1
- package/components/ui/components/inputs/TextInput/TextInput.ts +9 -2
- package/components/ui/components/inputs/Textarea/Textarea.ts +8 -1
- package/components/ui/components/inputs/UsersDropdown/UsersDropdown.ts +8 -1
- package/components/ui/components/layout/Card/Card.ts +8 -1
- package/components/ui/components/layout/Panel/Panel.ts +8 -1
- package/components/ui/components/layout/Tabs/Tabs.ts +7 -1
- package/components/ui/components/navigation/Menu/Menu.ts +8 -1
- package/components/ui/components/utility/Border/Border.ts +14 -2
- package/components/ui/components/utility/BoxShadow/BoxShadow.ts +14 -2
- package/components/ui/components/utility/Document/Document.ts +9 -2
- package/components/ui/components/utility/Handlers/Handlers.ts +9 -2
- package/components/ui/nuraly-ui/packages/common/dist/constants/index.d.ts +2 -0
- package/components/ui/nuraly-ui/packages/common/dist/constants.d.ts +17 -0
- package/components/ui/nuraly-ui/packages/common/dist/controllers/index.d.ts +2 -0
- package/components/ui/nuraly-ui/packages/common/dist/controllers.d.ts +21 -0
- package/components/ui/nuraly-ui/packages/common/dist/index.d.ts +25 -0
- package/components/ui/nuraly-ui/packages/common/dist/mixins/index.d.ts +2 -0
- package/components/ui/nuraly-ui/packages/common/dist/mixins.d.ts +26 -0
- package/components/ui/nuraly-ui/packages/common/dist/shared/base-mixin.d.ts +42 -0
- package/components/ui/nuraly-ui/packages/common/dist/shared/constants.d.ts +1 -0
- package/components/ui/nuraly-ui/packages/common/dist/shared/controllers/dropdown.controller.d.ts +78 -0
- package/components/ui/nuraly-ui/packages/common/dist/shared/controllers/dropdown.interface.d.ts +39 -0
- package/components/ui/nuraly-ui/packages/common/dist/shared/controllers/index.d.ts +4 -0
- package/components/ui/nuraly-ui/packages/common/dist/shared/controllers/theme.controller.d.ts +49 -0
- package/components/ui/nuraly-ui/packages/common/dist/shared/dependency-mixin.d.ts +37 -0
- package/components/ui/nuraly-ui/packages/common/dist/shared/event-handler-mixin.d.ts +65 -0
- package/components/ui/nuraly-ui/packages/common/dist/shared/index.d.ts +13 -0
- package/components/ui/nuraly-ui/packages/common/dist/shared/theme-mixin.d.ts +79 -0
- package/components/ui/nuraly-ui/packages/common/dist/shared/themes.d.ts +45 -0
- package/components/ui/nuraly-ui/packages/common/dist/themes/index.d.ts +2 -0
- package/components/ui/nuraly-ui/packages/common/dist/themes.d.ts +22 -0
- package/components/ui/nuraly-ui/packages/common/dist/utils/index.d.ts +2 -0
- package/components/ui/nuraly-ui/packages/common/dist/utils.d.ts +21 -0
- package/dist/.claude/settings.local.json +9 -0
- package/dist/micro-app.bundle.umd.cjs +5051 -0
- package/package.json +6 -2
- package/vite.config.ts +17 -18
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2023 Nuraly, Laabidi Aymen
|
|
4
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* Theme utilities and definitions for Nuraly UI components
|
|
8
|
+
*
|
|
9
|
+
* @module @nuralyui/common/themes
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import { getCurrentTheme, type ThemeVariant } from '@nuralyui/common/themes';
|
|
14
|
+
*
|
|
15
|
+
* const theme = getCurrentTheme(element);
|
|
16
|
+
* console.log('Current theme:', theme);
|
|
17
|
+
* ```
|
|
18
|
+
*
|
|
19
|
+
* @note CSS theme files are in the @nuralyui/themes package
|
|
20
|
+
*/
|
|
21
|
+
export * from './shared/themes.js';
|
|
22
|
+
//# sourceMappingURL=themes.d.ts.map
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2023 Nuraly, Laabidi Aymen
|
|
4
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* Shared utility functions for Nuraly UI components
|
|
8
|
+
*
|
|
9
|
+
* @module @nuralyui/common/utils
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import { throttle, debounce, rafThrottle } from '@nuralyui/common/utils';
|
|
14
|
+
*
|
|
15
|
+
* const handleResize = throttle(() => {
|
|
16
|
+
* console.log('Window resized');
|
|
17
|
+
* }, 100);
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
20
|
+
export * from './shared/utils.js';
|
|
21
|
+
//# sourceMappingURL=utils.d.ts.map
|