@sixbell-telco/sdk 0.3.0 → 0.4.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.
- package/CHANGELOG.md +53 -0
- package/README.md +96 -55
- package/assets/styles/combobox.scss +17 -17
- package/components/accordion/accordion-item/accordion-item.component.d.ts +1 -2
- package/components/avatar/src/avatar.component.d.ts +11 -18
- package/components/button/src/button.component.d.ts +12 -19
- package/components/card/card-actions/card-actions.component.d.ts +8 -0
- package/components/card/card-content/card-content.component.d.ts +5 -0
- package/components/card/card-title/card-title.component.d.ts +5 -0
- package/components/card/public-api.d.ts +3 -0
- package/components/card/src/card.component.d.ts +19 -20
- package/components/countdown/src/countdown.component.d.ts +6 -1
- package/components/dropdown/dropdown-item/dropdown-item.component.d.ts +10 -0
- package/components/dropdown/public-api.d.ts +1 -0
- package/components/dropdown/src/dropdown.component.d.ts +24 -42
- package/components/file-upload/file-uploader/src/file-uploader.component.d.ts +2 -5
- package/components/forms/checkbox/src/checkbox.component.d.ts +2 -3
- package/components/forms/input/src/input.component.d.ts +7 -8
- package/components/forms/radio/src/radio.component.d.ts +2 -6
- package/components/forms/select/src/select.component.d.ts +5 -8
- package/components/forms/textarea/src/textarea.component.d.ts +5 -11
- package/components/link/src/link.component.d.ts +18 -45
- package/components/modal/modal-actions/modal-actions.component.d.ts +8 -0
- package/components/modal/modal-content/modal-content.component.d.ts +5 -0
- package/components/modal/modal-title/modal-title.component.d.ts +5 -0
- package/components/modal/public-api.d.ts +3 -0
- package/components/modal/src/modal.component.d.ts +9 -13
- package/components/product-card/src/product-card.component.d.ts +5 -9
- package/components/tab/src/tab.component.d.ts +1 -2
- package/directives/click-outside/index.d.ts +5 -0
- package/directives/click-outside/public-api.d.ts +1 -0
- package/directives/click-outside/src/click-outside.directive.d.ts +10 -0
- package/directives/typography/src/typography.directive.d.ts +3 -4
- package/esm2022/components/accordion/accordion-item/accordion-item.component.mjs +5 -6
- package/esm2022/components/avatar/src/avatar.component.mjs +27 -43
- package/esm2022/components/button/src/button.component.mjs +12 -22
- package/esm2022/components/card/card-actions/card-actions.component.mjs +22 -0
- package/esm2022/components/card/card-content/card-content.component.mjs +12 -0
- package/esm2022/components/card/card-title/card-title.component.mjs +12 -0
- package/esm2022/components/card/public-api.mjs +4 -1
- package/esm2022/components/card/src/card.component.mjs +20 -45
- package/esm2022/components/countdown/src/countdown.component.mjs +10 -3
- package/esm2022/components/dropdown/dropdown-item/dropdown-item.component.mjs +24 -0
- package/esm2022/components/dropdown/public-api.mjs +2 -1
- package/esm2022/components/dropdown/src/dropdown.component.mjs +65 -101
- package/esm2022/components/dual-list/src/dual-list.component.mjs +3 -3
- package/esm2022/components/file-upload/file-dropzone/src/file-dropzone.component.mjs +3 -3
- package/esm2022/components/file-upload/file-uploader/src/file-uploader.component.mjs +3 -7
- package/esm2022/components/forms/checkbox/src/checkbox.component.mjs +9 -8
- package/esm2022/components/forms/combobox/src/combobox.component.mjs +3 -3
- package/esm2022/components/forms/datepicker/src/datepicker.component.mjs +2 -2
- package/esm2022/components/forms/form-error/src/form-error.component.mjs +3 -3
- package/esm2022/components/forms/input/src/input.component.mjs +51 -45
- package/esm2022/components/forms/radio/src/radio.component.mjs +5 -18
- package/esm2022/components/forms/range/src/range.component.mjs +3 -3
- package/esm2022/components/forms/select/src/select.component.mjs +24 -34
- package/esm2022/components/forms/switch/src/switch.component.mjs +3 -3
- package/esm2022/components/forms/textarea/src/textarea.component.mjs +35 -48
- package/esm2022/components/forms/toggle/src/toggle.component.mjs +3 -3
- package/esm2022/components/link/src/link.component.mjs +27 -183
- package/esm2022/components/modal/modal-actions/modal-actions.component.mjs +22 -0
- package/esm2022/components/modal/modal-content/modal-content.component.mjs +12 -0
- package/esm2022/components/modal/modal-title/modal-title.component.mjs +13 -0
- package/esm2022/components/modal/public-api.mjs +4 -1
- package/esm2022/components/modal/src/modal.component.mjs +31 -31
- package/esm2022/components/notification/src/notification.component.mjs +2 -5
- package/esm2022/components/paginator/components/pagination-item/pagination-item.component.mjs +24 -24
- package/esm2022/components/product-card/src/product-card.component.mjs +5 -14
- package/esm2022/components/progress/src/progress.component.mjs +3 -3
- package/esm2022/components/tab/src/tab.component.mjs +2 -4
- package/esm2022/components/table/src/table.component.mjs +4 -4
- package/esm2022/components/table/table-header-checkbox/table-header-checkbox.component.mjs +1 -1
- package/esm2022/components/table/table-row-checkbox/table-row-checkbox.component.mjs +1 -1
- package/esm2022/components/toast/toast-message/toast-message.component.mjs +4 -4
- package/esm2022/components/wizard/wizard-marker/wizard-marker.component.mjs +4 -4
- package/esm2022/components/wizard/wizard-step/wizard-step.component.mjs +3 -3
- package/esm2022/components/wizard/wizard-wrapper/wizard-wrapper.component.mjs +3 -3
- package/esm2022/directives/click-outside/public-api.mjs +2 -0
- package/esm2022/directives/click-outside/sixbell-telco-sdk-directives-click-outside.mjs +5 -0
- package/esm2022/directives/click-outside/src/click-outside.directive.mjs +30 -0
- package/esm2022/directives/typography/src/typography.directive.mjs +19 -18
- package/fesm2022/sixbell-telco-sdk-components-accordion.mjs +4 -5
- package/fesm2022/sixbell-telco-sdk-components-accordion.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-avatar.mjs +26 -42
- package/fesm2022/sixbell-telco-sdk-components-avatar.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-button.mjs +11 -21
- package/fesm2022/sixbell-telco-sdk-components-button.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-card.mjs +57 -46
- package/fesm2022/sixbell-telco-sdk-components-card.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-countdown.mjs +9 -2
- package/fesm2022/sixbell-telco-sdk-components-countdown.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-dropdown.mjs +86 -101
- package/fesm2022/sixbell-telco-sdk-components-dropdown.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-dual-list.mjs +2 -2
- package/fesm2022/sixbell-telco-sdk-components-dual-list.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-file-upload-file-dropzone.mjs +2 -2
- package/fesm2022/sixbell-telco-sdk-components-file-upload-file-dropzone.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-file-upload-file-uploader.mjs +2 -6
- package/fesm2022/sixbell-telco-sdk-components-file-upload-file-uploader.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-checkbox.mjs +8 -7
- package/fesm2022/sixbell-telco-sdk-components-forms-checkbox.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-combobox.mjs +2 -2
- package/fesm2022/sixbell-telco-sdk-components-forms-combobox.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-datepicker.mjs +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-datepicker.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-form-error.mjs +2 -2
- package/fesm2022/sixbell-telco-sdk-components-forms-form-error.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-input.mjs +51 -45
- package/fesm2022/sixbell-telco-sdk-components-forms-input.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-radio.mjs +4 -17
- package/fesm2022/sixbell-telco-sdk-components-forms-radio.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-range.mjs +2 -2
- package/fesm2022/sixbell-telco-sdk-components-forms-range.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-select.mjs +23 -33
- package/fesm2022/sixbell-telco-sdk-components-forms-select.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-switch.mjs +2 -2
- package/fesm2022/sixbell-telco-sdk-components-forms-switch.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-textarea.mjs +34 -47
- package/fesm2022/sixbell-telco-sdk-components-forms-textarea.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-toggle.mjs +2 -2
- package/fesm2022/sixbell-telco-sdk-components-forms-toggle.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-link.mjs +27 -183
- package/fesm2022/sixbell-telco-sdk-components-link.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-modal.mjs +71 -33
- package/fesm2022/sixbell-telco-sdk-components-modal.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-notification.mjs +1 -4
- package/fesm2022/sixbell-telco-sdk-components-notification.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-paginator.mjs +23 -23
- package/fesm2022/sixbell-telco-sdk-components-paginator.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-product-card.mjs +4 -13
- package/fesm2022/sixbell-telco-sdk-components-product-card.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-progress.mjs +2 -2
- package/fesm2022/sixbell-telco-sdk-components-progress.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-tab.mjs +1 -3
- package/fesm2022/sixbell-telco-sdk-components-tab.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-table.mjs +5 -5
- package/fesm2022/sixbell-telco-sdk-components-table.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-toast.mjs +3 -3
- package/fesm2022/sixbell-telco-sdk-components-toast.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-wizard.mjs +7 -7
- package/fesm2022/sixbell-telco-sdk-components-wizard.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-directives-click-outside.mjs +37 -0
- package/fesm2022/sixbell-telco-sdk-directives-click-outside.mjs.map +1 -0
- package/fesm2022/sixbell-telco-sdk-directives-typography.mjs +18 -17
- package/fesm2022/sixbell-telco-sdk-directives-typography.mjs.map +1 -1
- package/package.json +31 -25
package/CHANGELOG.md
CHANGED
|
@@ -86,6 +86,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
86
86
|
- **Fonts**: Add fonts for improved branding (`5b924f8`)
|
|
87
87
|
- **Favicon**: Add SVG favicon and web manifest for improved branding (`1f936ec`)
|
|
88
88
|
- **Dependencies**: Add @ng-icons/core and @ng-icons/material-icons dependencies (`5e62dac`, `f1dbca1`)
|
|
89
|
+
- **Click Outside Directive**: Added click outside directive with public API and packaging (`dad3724`)
|
|
90
|
+
- **Dropdown Item**: Added dropdown item component with selection handling (`9563ca2`)
|
|
91
|
+
- **Button Variants**: Added accent, info, and success variants to button component (`41e101b`)
|
|
92
|
+
- **Typography**: Added leading classes to typography variants for improved line height (`8bc4cb4`)
|
|
93
|
+
- **Modal Components**: Implemented modal content, title, and actions components with improved structure and alignment (`0fec289`)
|
|
94
|
+
- **Select Variants**: Added multiple select variants to showcase component for enhanced options (`1184fb7`)
|
|
95
|
+
- **Textarea Variants**: Added multiple textarea variants for enhanced customization options (`5e08191`)
|
|
96
|
+
- **Background Color**: Added background color to accordion items for improved visibility (`8d9621c`)
|
|
89
97
|
|
|
90
98
|
### Fixed
|
|
91
99
|
|
|
@@ -94,6 +102,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
94
102
|
- **Changelog**: Fix types, update sections, and remove unnecessary sections (`4715ded`)
|
|
95
103
|
- **Link Component**: Fixed positioning problems (`250f5ce`)
|
|
96
104
|
- **Index HTML**: Update title and enhance favicon links for improved branding (`2d53321`)
|
|
105
|
+
- **Dual List**:
|
|
106
|
+
- Removed icon variant from input components for consistency (`f101c7c`)
|
|
107
|
+
- Enhanced row hover effect with background color (`519b35b`)
|
|
108
|
+
- **Table**: Removed hover effect from table body rows for cleaner design (`433a0fc`)
|
|
109
|
+
- **Tailwind**:
|
|
110
|
+
- Updated error content color for improved visibility (`bfc326b`)
|
|
111
|
+
- Updated warning and error color values for better contrast (`89c8d4f`)
|
|
97
112
|
|
|
98
113
|
### Removed
|
|
99
114
|
|
|
@@ -112,6 +127,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
112
127
|
- **Wizard Marker Component**: Remove @ngx-translate/core dependency from tests (`7dd66d7`)
|
|
113
128
|
- **Wizard Step Component**: Remove @ngx-translate/core dependency from tests (`618c077`)
|
|
114
129
|
- **Wizard Sub-Step Component**: Remove @ngx-translate/core dependency from tests (`4006327`)
|
|
130
|
+
- **File Uploader**: Removed shape property and related logic for simplification (`894638d`)
|
|
131
|
+
- **Tab**: Removed unused classes property for simplification (`6aee6e9`)
|
|
115
132
|
|
|
116
133
|
### Changed
|
|
117
134
|
|
|
@@ -302,3 +319,39 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
302
319
|
- **Dual-List Refactoring**: Improved layout structure, hover state handling, and input interaction behavior
|
|
303
320
|
- **Button Refactoring**: Enhanced button variants, added modifier support, and implemented loader functionality
|
|
304
321
|
- **Modal Refactoring**: Improved close button behavior and state management
|
|
322
|
+
- **Textarea**: Enhanced textarea component with new variants and improved styling (`27584e2`)
|
|
323
|
+
- **Select**:
|
|
324
|
+
- Added leading style for improved text alignment (`d35160b`)
|
|
325
|
+
- Enhanced component with updated variant and size options (`b7918c3`)
|
|
326
|
+
- **Input**:
|
|
327
|
+
- Added leading style for improved text alignment (`81bdac6`)
|
|
328
|
+
- Added placeholder styling for improved user experience (`369e485`)
|
|
329
|
+
- Enhanced component with new variants and icon handling (`dea8741`)
|
|
330
|
+
- **Form Error**: Updated typography variant for improved error message visibility (`b7856a5`)
|
|
331
|
+
- **Button**:
|
|
332
|
+
- Updated size variants with responsive text sizing (`d4c9720`)
|
|
333
|
+
- Added 'leading-normal' class for improved text alignment (`a51e633`)
|
|
334
|
+
- Renamed variant and size props for consistency and clarity (`1594dbb`)
|
|
335
|
+
- Added tertiary variant and removed border options (`22ee868`)
|
|
336
|
+
- **Modal**:
|
|
337
|
+
- Restructured implementation with dedicated components for improved clarity (`ab38136`)
|
|
338
|
+
- Simplified component styles and removed unused variant prop (`e0fef2e`)
|
|
339
|
+
- **Link**:
|
|
340
|
+
- Added 'leading-normal' class for improved text alignment (`6a1107f`)
|
|
341
|
+
- Enhanced component with additional variants and icon support (`6e54639`)
|
|
342
|
+
- Simplified structure and enhanced router link functionality (`015e3b9`)
|
|
343
|
+
- **Checkbox**:
|
|
344
|
+
- Introduced new variants and improved showcase display (`afc8ced`)
|
|
345
|
+
- Updated styles and expanded variant options (`0557be3`)
|
|
346
|
+
- **Radio**:
|
|
347
|
+
- Added additional variants to showcase (`dd75e9f`)
|
|
348
|
+
- Added tertiary variant and removed border variant (`dfd2314`)
|
|
349
|
+
- **Dropdown**:
|
|
350
|
+
- Updated implementation (`8b8ab54`)
|
|
351
|
+
- Simplified component by removing unused variant logic (`1c2d2d1`)
|
|
352
|
+
- Implemented theme dropdown with click outside handling (`2c00f54`)
|
|
353
|
+
- **Pagination Item**: Updated color classes for improved accessibility and consistency (`a971344`)
|
|
354
|
+
- **Combobox**: Updated input variant to secondary with ghost styling (`763e153`)
|
|
355
|
+
- **Modal**:
|
|
356
|
+
- Add onClose and onClickOutside event handlers with improved logging (`26fe6ba`)
|
|
357
|
+
- Enhance click handling and emit onClose event (`5a4c688`)
|
package/README.md
CHANGED
|
@@ -95,13 +95,18 @@ module.exports = {
|
|
|
95
95
|
theme: {
|
|
96
96
|
extend: {
|
|
97
97
|
colors: {
|
|
98
|
-
|
|
99
|
-
'
|
|
100
|
-
'
|
|
101
|
-
|
|
102
|
-
'
|
|
103
|
-
|
|
104
|
-
'
|
|
98
|
+
tertiary: 'rgba(var(--tertiary), <alpha-value>)',
|
|
99
|
+
'tertiary-content': 'rgba(var(--tertiary-content), <alpha-value>)',
|
|
100
|
+
'neutral-secondary': 'rgba(var(--neutral-secondary), <alpha-value>)',
|
|
101
|
+
'base-placeholder': 'rgba(var(--base-placeholder), <alpha-value>)',
|
|
102
|
+
'metrics-increase': 'rgba(var(--metrics-increase), <alpha-value>)',
|
|
103
|
+
'metrics-decrease': 'rgba(var(--metrics-decrease), <alpha-value>)',
|
|
104
|
+
'metrics-neutral': 'rgba(var(--metrics-neutral), <alpha-value>)',
|
|
105
|
+
'metrics-intensity-highest': 'rgba(var(--metrics-intensity-highest), <alpha-value>)',
|
|
106
|
+
'metrics-intensity-high': 'rgba(var(--metrics-intensity-high), <alpha-value>)',
|
|
107
|
+
'metrics-intensity-medium': 'rgba(var(--metrics-intensity-medium), <alpha-value>)',
|
|
108
|
+
'metrics-intensity-low': 'rgba(var(--metrics-intensity-low), <alpha-value>)',
|
|
109
|
+
'metrics-intensity-lowest': 'rgba(var(--metrics-intensity-lowest), <alpha-value>)',
|
|
105
110
|
},
|
|
106
111
|
fontFamily: {
|
|
107
112
|
poppins: ['Poppins', 'sans-serif'],
|
|
@@ -109,17 +114,7 @@ module.exports = {
|
|
|
109
114
|
body: ['Poppins', 'sans-serif'],
|
|
110
115
|
},
|
|
111
116
|
boxShadow: {
|
|
112
|
-
|
|
113
|
-
secondary: '0px 2px 5px 0px rgba(var(--shadow-secondary))',
|
|
114
|
-
},
|
|
115
|
-
borderRadius: {
|
|
116
|
-
'btn-xs': 'var(--rounded-btn-xs)',
|
|
117
|
-
'btn-sm': 'var(--rounded-btn-sm)',
|
|
118
|
-
'btn-md': 'var(--rounded-btn-md)',
|
|
119
|
-
'btn-lg': 'var(--rounded-btn-lg)',
|
|
120
|
-
'box-sm': 'var(--rounded-box-sm)',
|
|
121
|
-
'box-md': 'var(--rounded-box-md)',
|
|
122
|
-
'box-lg': 'var(--rounded-box-lg)',
|
|
117
|
+
main: '0px 0px 8px 0px rgba(var(--shadow-primary))',
|
|
123
118
|
},
|
|
124
119
|
fontWeight: {
|
|
125
120
|
inherit: 'inherit',
|
|
@@ -140,39 +135,93 @@ module.exports = {
|
|
|
140
135
|
daisyui: {
|
|
141
136
|
themes: [
|
|
142
137
|
{
|
|
143
|
-
|
|
138
|
+
vivid_elegance_light: {
|
|
139
|
+
// Daisy UI theme variables
|
|
140
|
+
primary: '#4DD6ED',
|
|
141
|
+
'primary-content': '#075A69',
|
|
142
|
+
secondary: '#D0D3D7',
|
|
143
|
+
'secondary-content': '#080809',
|
|
144
|
+
accent: '#FF6B35',
|
|
145
|
+
'accent-content': '#080809',
|
|
146
|
+
neutral: '#E2E5E9',
|
|
147
|
+
'neutral-content': '#080809',
|
|
148
|
+
'base-100': '#F2F4F7',
|
|
149
|
+
'base-200': '#FFFFFF',
|
|
150
|
+
'base-300': '#E2E8F0',
|
|
151
|
+
'base-content': '#080809',
|
|
152
|
+
info: '#0070E0',
|
|
153
|
+
'info-content': '#ffffff',
|
|
154
|
+
success: '#34CC05',
|
|
155
|
+
'success-content': '#134B02',
|
|
156
|
+
warning: '#DBD706',
|
|
157
|
+
'warning-content': '#5E5D02',
|
|
158
|
+
error: '#ef5145',
|
|
159
|
+
'error-content': '#460A06',
|
|
160
|
+
// Custom colors
|
|
161
|
+
'--tertiary': '166, 166, 166',
|
|
162
|
+
'--tertiary-content': '8, 8, 9',
|
|
163
|
+
'--neutral-secondary': '169, 170, 178',
|
|
164
|
+
'--neutral-secondary-content': '255, 255, 255',
|
|
165
|
+
'--base-placeholder': '101, 104, 108',
|
|
166
|
+
'--shadow-primary': '186, 185, 185, 0.40',
|
|
167
|
+
// Custom properties for metrics
|
|
168
|
+
'--metrics-increase': '46, 204, 113',
|
|
169
|
+
'--metrics-decrease': '231, 76, 60',
|
|
170
|
+
'--metrics-neutral': '127, 140, 141',
|
|
171
|
+
'--metrics-intensity-highest': '77, 214, 237',
|
|
172
|
+
'--metrics-intensity-high': '101, 222, 241',
|
|
173
|
+
'--metrics-intensity-medium': '125, 229, 244',
|
|
174
|
+
'--metrics-intensity-low': '149, 236, 247',
|
|
175
|
+
'--metrics-intensity-lowest': '220, 247, 252',
|
|
176
|
+
// Daisy UI utility variables
|
|
177
|
+
'--rounded-box': '1rem', // border radius rounded-box utility class, used in card and other large boxes
|
|
178
|
+
'--rounded-btn': '0.5rem', // border radius rounded-btn utility class, used in buttons and similar element
|
|
179
|
+
'--rounded-badge': '1.9rem', // border radius rounded-badge utility class, used in badges and similar
|
|
180
|
+
'--animation-btn': '0.25s', // duration of animation when you click on button
|
|
181
|
+
'--animation-input': '0.2s', // duration of animation for inputs like checkbox, toggle, radio, etc
|
|
182
|
+
'--btn-focus-scale': '0.95', // scale transform of button when you focus on it
|
|
183
|
+
'--border-btn': '1px', // border width of buttons
|
|
184
|
+
'--tab-border': '1px', // border width of tabs
|
|
185
|
+
'--tab-radius': '0.5rem', // border radius of tabs
|
|
186
|
+
},
|
|
187
|
+
vivid_elegance_dark: {
|
|
144
188
|
// Daisy UI theme variables
|
|
145
189
|
primary: '#4DD6ED',
|
|
146
|
-
'primary-content': '#
|
|
147
|
-
secondary: '#
|
|
148
|
-
'secondary-content': '#
|
|
149
|
-
accent: '#
|
|
150
|
-
'accent-content': '#
|
|
151
|
-
neutral: '#
|
|
190
|
+
'primary-content': '#075A69',
|
|
191
|
+
secondary: '#5D5F69',
|
|
192
|
+
'secondary-content': '#FFFFFF',
|
|
193
|
+
accent: '#FF8B5A',
|
|
194
|
+
'accent-content': '#1E1E1E',
|
|
195
|
+
neutral: '#616161',
|
|
152
196
|
'neutral-content': '#FFFFFF',
|
|
153
|
-
'base-100': '#
|
|
154
|
-
'base-200': '#
|
|
155
|
-
'base-300': '#
|
|
156
|
-
'base-content': '#
|
|
157
|
-
info: '#
|
|
158
|
-
'info-content': '#
|
|
159
|
-
success: '#
|
|
160
|
-
'success-content': '#
|
|
161
|
-
warning: '#
|
|
162
|
-
'warning-content': '#
|
|
163
|
-
error: '#
|
|
164
|
-
'error-content': '#
|
|
197
|
+
'base-100': '#121212',
|
|
198
|
+
'base-200': '#1E1E1E',
|
|
199
|
+
'base-300': '#2A2A2A',
|
|
200
|
+
'base-content': '#FFFFFF',
|
|
201
|
+
info: '#0070E0',
|
|
202
|
+
'info-content': '#ffffff',
|
|
203
|
+
success: '#34CC05',
|
|
204
|
+
'success-content': '#134B02',
|
|
205
|
+
warning: '#DBD706',
|
|
206
|
+
'warning-content': '#5E5D02',
|
|
207
|
+
error: '#FF4133',
|
|
208
|
+
'error-content': '#4D0500',
|
|
165
209
|
// Custom colors
|
|
166
|
-
'--
|
|
167
|
-
'--
|
|
168
|
-
'--
|
|
169
|
-
'--
|
|
170
|
-
'--
|
|
171
|
-
'--
|
|
172
|
-
|
|
173
|
-
'--
|
|
174
|
-
'--
|
|
175
|
-
'--
|
|
210
|
+
'--tertiary': '161, 161, 161',
|
|
211
|
+
'--tertiary-content': '55, 56, 62',
|
|
212
|
+
'--neutral-secondary': '169, 170, 178',
|
|
213
|
+
'--neutral-secondary-content': '255, 255, 255',
|
|
214
|
+
'--base-placeholder': '178, 179, 81',
|
|
215
|
+
'--shadow-primary': '0, 0, 0, 0.40',
|
|
216
|
+
// Custom properties for metrics
|
|
217
|
+
'--metrics-increase': '46, 204, 113',
|
|
218
|
+
'--metrics-decrease': '231, 76, 60',
|
|
219
|
+
'--metrics-neutral': '127, 140, 141',
|
|
220
|
+
'--metrics-intensity-highest': '77, 214, 237',
|
|
221
|
+
'--metrics-intensity-high': '101, 222, 241',
|
|
222
|
+
'--metrics-intensity-medium': '125, 229, 244',
|
|
223
|
+
'--metrics-intensity-low': '149, 236, 247',
|
|
224
|
+
'--metrics-intensity-lowest': '220, 247, 252',
|
|
176
225
|
// Daisy UI utility variables
|
|
177
226
|
'--rounded-box': '1rem', // border radius rounded-box utility class, used in card and other large boxes
|
|
178
227
|
'--rounded-btn': '0.5rem', // border radius rounded-btn utility class, used in buttons and similar element
|
|
@@ -183,14 +232,6 @@ module.exports = {
|
|
|
183
232
|
'--border-btn': '1px', // border width of buttons
|
|
184
233
|
'--tab-border': '1px', // border width of tabs
|
|
185
234
|
'--tab-radius': '0.5rem', // border radius of tabs
|
|
186
|
-
// Custom utility variables
|
|
187
|
-
'--rounded-btn-xs': '0.3rem', // 4.8px
|
|
188
|
-
'--rounded-btn-sm': '0.5rem', // 8px
|
|
189
|
-
'--rounded-btn-md': '0.813rem', // 13px
|
|
190
|
-
'--rounded-btn-lg': '2.25rem', // 36px
|
|
191
|
-
'--rounded-box-sm': '0.5rem', // 8px
|
|
192
|
-
'--rounded-box-md': '0.813rem', // 13px
|
|
193
|
-
'--rounded-box-lg': '2.25rem', // 36px
|
|
194
235
|
},
|
|
195
236
|
},
|
|
196
237
|
],
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
.ng-select.ng-select-opened.ng-select-bottom.combobox-primary > .ng-select-container {
|
|
14
|
-
@apply rounded-b-box
|
|
14
|
+
@apply rounded-b-box border-primary shadow-none outline-2 outline-offset-2 outline-primary ring-transparent;
|
|
15
15
|
--tw-border-opacity: 1;
|
|
16
16
|
border-color: var(--fallback-p, oklch(var(--p) / var(--tw-border-opacity)));
|
|
17
17
|
outline-color: var(--fallback-p, oklch(var(--p) / 1));
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
.ng-select.ng-select-opened.ng-select-bottom.combobox-secondary > .ng-select-container {
|
|
31
|
-
@apply rounded-b-box
|
|
31
|
+
@apply rounded-b-box border-secondary shadow-none outline-2 outline-offset-2 outline-secondary ring-transparent;
|
|
32
32
|
--tw-border-opacity: 1;
|
|
33
33
|
border-color: var(--fallback-s, oklch(var(--s) / var(--tw-border-opacity)));
|
|
34
34
|
outline-color: var(--fallback-s, oklch(var(--s) / 1));
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
.ng-select.ng-select-opened.ng-select-bottom.combobox-success > .ng-select-container {
|
|
48
|
-
@apply rounded-b-box
|
|
48
|
+
@apply rounded-b-box border-success shadow-none outline-2 outline-offset-2 outline-success ring-transparent;
|
|
49
49
|
--tw-border-opacity: 1;
|
|
50
50
|
border-color: var(--fallback-p, oklch(var(--su) / var(--tw-border-opacity)));
|
|
51
51
|
outline-color: var(--fallback-p, oklch(var(--su) / 1));
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
.ng-select.ng-select-opened.ng-select-bottom.combobox-warning > .ng-select-container {
|
|
65
|
-
@apply rounded-b-box
|
|
65
|
+
@apply rounded-b-box border-error shadow-none outline-2 outline-offset-2 outline-error ring-transparent;
|
|
66
66
|
--tw-border-opacity: 1;
|
|
67
67
|
border-color: var(--fallback-p, oklch(var(--wa) / var(--tw-border-opacity)));
|
|
68
68
|
outline-color: var(--fallback-p, oklch(var(--wa) / 1));
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
.ng-select.ng-select-opened.ng-select-bottom.combobox-error > .ng-select-container {
|
|
82
|
-
@apply rounded-b-box
|
|
82
|
+
@apply rounded-b-box border-error shadow-none outline-2 outline-offset-2 outline-error ring-transparent;
|
|
83
83
|
--tw-border-opacity: 1;
|
|
84
84
|
border-color: var(--fallback-p, oklch(var(--er) / var(--tw-border-opacity)));
|
|
85
85
|
outline-color: var(--fallback-p, oklch(var(--er) / 1));
|
|
@@ -112,12 +112,12 @@
|
|
|
112
112
|
|
|
113
113
|
// options header style
|
|
114
114
|
.ng-dropdown-header {
|
|
115
|
-
@apply rounded-b-none rounded-t-box
|
|
115
|
+
@apply rounded-b-none rounded-t-box border-b-0 border-l border-r border-t border-solid border-secondary p-0 shadow-primary;
|
|
116
116
|
}
|
|
117
117
|
|
|
118
118
|
// options content style
|
|
119
119
|
.ng-dropdown-panel-items {
|
|
120
|
-
@apply rounded-b-box
|
|
120
|
+
@apply rounded-b-box border border-solid border-secondary bg-neutral-content shadow-primary;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
123
|
// options content style
|
|
@@ -172,12 +172,12 @@
|
|
|
172
172
|
|
|
173
173
|
// options header style
|
|
174
174
|
.ng-dropdown-header {
|
|
175
|
-
@apply rounded-b-none rounded-t-box
|
|
175
|
+
@apply rounded-b-none rounded-t-box border-b-0 border-l border-r border-t border-solid border-primary p-0 shadow-primary;
|
|
176
176
|
}
|
|
177
177
|
|
|
178
178
|
// options content style
|
|
179
179
|
.ng-dropdown-panel-items {
|
|
180
|
-
@apply rounded-b-box
|
|
180
|
+
@apply rounded-b-box border border-solid border-primary bg-neutral-content shadow-primary;
|
|
181
181
|
}
|
|
182
182
|
|
|
183
183
|
// options content style
|
|
@@ -232,12 +232,12 @@
|
|
|
232
232
|
|
|
233
233
|
// options header style
|
|
234
234
|
.ng-dropdown-header {
|
|
235
|
-
@apply rounded-b-none rounded-t-box
|
|
235
|
+
@apply rounded-b-none rounded-t-box border-b-0 border-l border-r border-t border-solid border-secondary p-0 shadow-primary;
|
|
236
236
|
}
|
|
237
237
|
|
|
238
238
|
// options content style
|
|
239
239
|
.ng-dropdown-panel-items {
|
|
240
|
-
@apply rounded-b-box
|
|
240
|
+
@apply rounded-b-box border border-solid border-secondary bg-neutral-content shadow-primary;
|
|
241
241
|
}
|
|
242
242
|
|
|
243
243
|
// options content style
|
|
@@ -292,12 +292,12 @@
|
|
|
292
292
|
|
|
293
293
|
// options header style
|
|
294
294
|
.ng-dropdown-header {
|
|
295
|
-
@apply rounded-b-none rounded-t-box
|
|
295
|
+
@apply rounded-b-none rounded-t-box border-b-0 border-l border-r border-t border-solid border-secondary p-0 shadow-primary;
|
|
296
296
|
}
|
|
297
297
|
|
|
298
298
|
// options content style
|
|
299
299
|
.ng-dropdown-panel-items {
|
|
300
|
-
@apply rounded-b-box
|
|
300
|
+
@apply rounded-b-box border border-solid border-secondary bg-neutral-content shadow-primary;
|
|
301
301
|
}
|
|
302
302
|
|
|
303
303
|
// options content style
|
|
@@ -352,12 +352,12 @@
|
|
|
352
352
|
|
|
353
353
|
// options header style
|
|
354
354
|
.ng-dropdown-header {
|
|
355
|
-
@apply rounded-b-none rounded-t-box
|
|
355
|
+
@apply rounded-b-none rounded-t-box border-b-0 border-l border-r border-t border-solid border-secondary p-0 shadow-primary;
|
|
356
356
|
}
|
|
357
357
|
|
|
358
358
|
// options content style
|
|
359
359
|
.ng-dropdown-panel-items {
|
|
360
|
-
@apply rounded-b-box
|
|
360
|
+
@apply rounded-b-box border border-solid border-secondary bg-neutral-content shadow-primary;
|
|
361
361
|
}
|
|
362
362
|
|
|
363
363
|
// options content style
|
|
@@ -412,12 +412,12 @@
|
|
|
412
412
|
|
|
413
413
|
// options header style
|
|
414
414
|
.ng-dropdown-header {
|
|
415
|
-
@apply rounded-b-none rounded-t-box
|
|
415
|
+
@apply rounded-b-none rounded-t-box border-b-0 border-l border-r border-t border-solid border-secondary p-0 shadow-primary;
|
|
416
416
|
}
|
|
417
417
|
|
|
418
418
|
// options content style
|
|
419
419
|
.ng-dropdown-panel-items {
|
|
420
|
-
@apply rounded-b-box
|
|
420
|
+
@apply rounded-b-box border border-solid border-secondary bg-neutral-content shadow-primary;
|
|
421
421
|
}
|
|
422
422
|
|
|
423
423
|
// options content style
|
|
@@ -12,11 +12,10 @@ export declare class AccordionItemComponent {
|
|
|
12
12
|
header: import("@angular/core").InputSignal<string>;
|
|
13
13
|
opened: import("@angular/core").InputSignal<boolean>;
|
|
14
14
|
variant: import("@angular/core").InputSignal<AccordionVariantProps>;
|
|
15
|
-
classes: import("@angular/core").InputSignal<string>;
|
|
16
15
|
name: string;
|
|
17
16
|
type: string;
|
|
18
17
|
constructor(accordion: AccordionComponent);
|
|
19
18
|
get componentClass(): string;
|
|
20
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<AccordionItemComponent, [{ host: true; }]>;
|
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AccordionItemComponent, "st-accordion-item", never, { "header": { "alias": "header"; "required": false; "isSignal": true; }; "opened": { "alias": "opened"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; };
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AccordionItemComponent, "st-accordion-item", never, { "header": { "alias": "header"; "required": false; "isSignal": true; }; "opened": { "alias": "opened"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
22
21
|
}
|
|
@@ -2,37 +2,30 @@ import * as i0 from "@angular/core";
|
|
|
2
2
|
export type AvatarUser = {
|
|
3
3
|
firstName: string;
|
|
4
4
|
lastName: string;
|
|
5
|
-
|
|
6
|
-
profile: string;
|
|
7
|
-
client: string;
|
|
5
|
+
role: string;
|
|
8
6
|
};
|
|
9
7
|
export type AvatarTypes = 'quick' | 'profile';
|
|
10
8
|
export declare const avatarComponent: (props?: ({
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
size?: "auto" | null | undefined;
|
|
9
|
+
shape?: "square" | "rounded" | null | undefined;
|
|
10
|
+
size?: "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
14
11
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
15
|
-
export type
|
|
16
|
-
export type
|
|
17
|
-
export type AvatarSizeProps = 'auto' | null | undefined;
|
|
12
|
+
export type AvatarShapeProps = 'square' | 'rounded' | null | undefined;
|
|
13
|
+
export type AvatarSizeProps = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | null | undefined;
|
|
18
14
|
export type AvatarProps = {
|
|
19
|
-
variant?: AvatarVariantProps;
|
|
20
15
|
shape?: AvatarShapeProps;
|
|
21
16
|
size?: AvatarSizeProps;
|
|
22
17
|
};
|
|
23
18
|
export declare class AvatarComponent {
|
|
24
|
-
variant: import("@angular/core").InputSignal<AvatarVariantProps>;
|
|
25
19
|
shape: import("@angular/core").InputSignal<AvatarShapeProps>;
|
|
26
20
|
size: import("@angular/core").InputSignal<AvatarSizeProps>;
|
|
27
|
-
|
|
28
|
-
type: import("@angular/core").InputSignal<AvatarTypes>;
|
|
21
|
+
shadow: import("@angular/core").InputSignal<boolean>;
|
|
29
22
|
user: import("@angular/core").InputSignal<AvatarUser>;
|
|
30
|
-
|
|
23
|
+
image: import("@angular/core").InputSignal<string>;
|
|
24
|
+
showNameAndRole: import("@angular/core").InputSignal<boolean>;
|
|
31
25
|
get initials(): string;
|
|
32
26
|
get componentClass(): string;
|
|
33
|
-
get
|
|
34
|
-
get
|
|
35
|
-
formatTitleCase(value: string): string;
|
|
27
|
+
get containerClass(): string;
|
|
28
|
+
get nameAndRoleTextSizeClass(): string;
|
|
36
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<AvatarComponent, never>;
|
|
37
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AvatarComponent, "st-avatar", never, { "
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AvatarComponent, "st-avatar", never, { "shape": { "alias": "shape"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "shadow": { "alias": "shadow"; "required": false; "isSignal": true; }; "user": { "alias": "user"; "required": true; "isSignal": true; }; "image": { "alias": "image"; "required": false; "isSignal": true; }; "showNameAndRole": { "alias": "showNameAndRole"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
38
31
|
}
|
|
@@ -1,24 +1,20 @@
|
|
|
1
|
-
import { TypographyVariantProps } from '@sixbell-telco/sdk/directives/typography';
|
|
2
1
|
import * as i0 from "@angular/core";
|
|
3
2
|
export declare const buttonComponent: (props?: ({
|
|
4
|
-
variant?: "primary" | "secondary" | "accent" | "info" | "success" | "warning" | "error" | "icon" | null | undefined;
|
|
5
|
-
border?: "round-none" | "round-sm" | "round-md" | "round-lg" | "round-full" | null | undefined;
|
|
3
|
+
variant?: "primary" | "secondary" | "tertiary" | "accent" | "info" | "success" | "warning" | "error" | "icon" | null | undefined;
|
|
6
4
|
size?: "xs" | "sm" | "md" | "lg" | null | undefined;
|
|
7
5
|
iconPosition?: "left" | "right" | null | undefined;
|
|
8
6
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
9
|
-
export type
|
|
10
|
-
export type
|
|
11
|
-
export type
|
|
12
|
-
export type ButtonComponentIconPositionProps = 'left' | 'right' | null | undefined;
|
|
7
|
+
export type ButtonVariantProps = 'primary' | 'secondary' | 'tertiary' | 'accent' | 'info' | 'success' | 'warning' | 'error' | 'icon' | null | undefined;
|
|
8
|
+
export type ButtonSizeProps = 'xs' | 'sm' | 'md' | 'lg' | null | undefined;
|
|
9
|
+
export type ButtonIconPositionProps = 'left' | 'right' | null | undefined;
|
|
13
10
|
export type ButtonProps = {
|
|
14
|
-
variant?:
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
iconPosition?: ButtonComponentIconPositionProps;
|
|
11
|
+
variant?: ButtonVariantProps;
|
|
12
|
+
size?: ButtonSizeProps;
|
|
13
|
+
iconPosition?: ButtonIconPositionProps;
|
|
18
14
|
};
|
|
19
15
|
type HTMLButtonType = 'button' | 'submit' | 'reset';
|
|
20
16
|
export declare class ButtonComponent {
|
|
21
|
-
variant: import("@angular/core").InputSignal<
|
|
17
|
+
variant: import("@angular/core").InputSignal<ButtonVariantProps>;
|
|
22
18
|
ghost: import("@angular/core").InputSignal<boolean>;
|
|
23
19
|
outline: import("@angular/core").InputSignal<boolean>;
|
|
24
20
|
circle: import("@angular/core").InputSignal<boolean>;
|
|
@@ -26,16 +22,13 @@ export declare class ButtonComponent {
|
|
|
26
22
|
glass: import("@angular/core").InputSignal<boolean>;
|
|
27
23
|
block: import("@angular/core").InputSignal<boolean>;
|
|
28
24
|
loader: import("@angular/core").InputSignal<boolean>;
|
|
29
|
-
|
|
30
|
-
size: import("@angular/core").InputSignal<ButtonComponentSizeProps>;
|
|
31
|
-
iconPosition: import("@angular/core").InputSignal<ButtonComponentIconPositionProps>;
|
|
32
|
-
fontSize: import("@angular/core").InputSignal<TypographyVariantProps>;
|
|
33
|
-
label: import("@angular/core").InputSignal<string>;
|
|
34
|
-
type: import("@angular/core").InputSignal<HTMLButtonType>;
|
|
25
|
+
size: import("@angular/core").InputSignal<ButtonSizeProps>;
|
|
35
26
|
icon: import("@angular/core").InputSignal<string | undefined>;
|
|
27
|
+
iconPosition: import("@angular/core").InputSignal<ButtonIconPositionProps>;
|
|
28
|
+
type: import("@angular/core").InputSignal<HTMLButtonType>;
|
|
36
29
|
disabled: import("@angular/core").InputSignal<boolean>;
|
|
37
30
|
get containerClass(): string;
|
|
38
31
|
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonComponent, never>;
|
|
39
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "st-button", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "ghost": { "alias": "ghost"; "required": false; "isSignal": true; }; "outline": { "alias": "outline"; "required": false; "isSignal": true; }; "circle": { "alias": "circle"; "required": false; "isSignal": true; }; "square": { "alias": "square"; "required": false; "isSignal": true; }; "glass": { "alias": "glass"; "required": false; "isSignal": true; }; "block": { "alias": "block"; "required": false; "isSignal": true; }; "loader": { "alias": "loader"; "required": false; "isSignal": true; }; "
|
|
32
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "st-button", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "ghost": { "alias": "ghost"; "required": false; "isSignal": true; }; "outline": { "alias": "outline"; "required": false; "isSignal": true; }; "circle": { "alias": "circle"; "required": false; "isSignal": true; }; "square": { "alias": "square"; "required": false; "isSignal": true; }; "glass": { "alias": "glass"; "required": false; "isSignal": true; }; "block": { "alias": "block"; "required": false; "isSignal": true; }; "loader": { "alias": "loader"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "iconPosition": { "alias": "iconPosition"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
40
33
|
}
|
|
41
34
|
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export type CardActionsAligmentProps = 'left' | 'right' | 'center';
|
|
3
|
+
export declare class CardActionsComponent {
|
|
4
|
+
alignment: import("@angular/core").InputSignal<CardActionsAligmentProps>;
|
|
5
|
+
get componentClass(): string;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CardActionsComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CardActionsComponent, "st-card-actions", never, { "alignment": { "alias": "alignment"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class CardContentComponent {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CardContentComponent, never>;
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CardContentComponent, "st-card-content", never, {}, {}, never, ["*"], true, never>;
|
|
5
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class CardTitleComponent {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CardTitleComponent, never>;
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CardTitleComponent, "st-card-title", never, {}, {}, never, ["*"], true, never>;
|
|
5
|
+
}
|
|
@@ -1,27 +1,26 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
export
|
|
3
|
-
|
|
4
|
-
height?: "fit" | "auto" | "full" | "min-content" | "max-content" | null | undefined;
|
|
5
|
-
width?: "fit" | "auto" | "full" | "min-content" | "max-content" | null | undefined;
|
|
6
|
-
shape?: "round-sm" | "round-md" | "round-lg" | null | undefined;
|
|
7
|
-
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
8
|
-
export type CardShadowProps = 'none' | 'primary' | 'secondary' | null | undefined;
|
|
9
|
-
export type CardHeightProps = 'fit' | 'auto' | 'full' | 'min-content' | 'max-content' | null | undefined;
|
|
10
|
-
export type CardWidthProps = 'fit' | 'auto' | 'full' | 'min-content' | 'max-content' | null | undefined;
|
|
11
|
-
export type CardShapeProps = 'round-sm' | 'round-md' | 'round-lg' | null | undefined;
|
|
2
|
+
export type CardImageOrientationProps = 'vertical' | 'horizontal';
|
|
3
|
+
export type CardImageAlignmentProps = 'start' | 'end';
|
|
12
4
|
export type CardProps = {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
5
|
+
variant?: CardImageOrientationProps;
|
|
6
|
+
border?: boolean;
|
|
7
|
+
image?: string | null;
|
|
8
|
+
imageAlt?: string | null;
|
|
9
|
+
imageAlignment?: CardImageAlignmentProps;
|
|
10
|
+
imageAsBackground?: boolean;
|
|
11
|
+
imageOnSide?: boolean;
|
|
12
|
+
shadow?: boolean;
|
|
17
13
|
};
|
|
18
14
|
export declare class CardComponent {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
15
|
+
border: import("@angular/core").InputSignal<boolean>;
|
|
16
|
+
image: import("@angular/core").InputSignal<string | null>;
|
|
17
|
+
imageAlt: import("@angular/core").InputSignal<string>;
|
|
18
|
+
imageOrientation: import("@angular/core").InputSignal<CardImageOrientationProps>;
|
|
19
|
+
imageAlignment: import("@angular/core").InputSignal<CardImageAlignmentProps>;
|
|
20
|
+
imageAsBackground: import("@angular/core").InputSignal<boolean>;
|
|
21
|
+
shadow: import("@angular/core").InputSignal<boolean>;
|
|
22
|
+
glass: import("@angular/core").InputSignal<boolean>;
|
|
24
23
|
get componentClass(): string;
|
|
25
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<CardComponent, never>;
|
|
26
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CardComponent, "st-card", never, { "
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CardComponent, "st-card", never, { "border": { "alias": "border"; "required": false; "isSignal": true; }; "image": { "alias": "image"; "required": false; "isSignal": true; }; "imageAlt": { "alias": "imageAlt"; "required": false; "isSignal": true; }; "imageOrientation": { "alias": "imageOrientation"; "required": false; "isSignal": true; }; "imageAlignment": { "alias": "imageAlignment"; "required": false; "isSignal": true; }; "imageAsBackground": { "alias": "imageAsBackground"; "required": false; "isSignal": true; }; "shadow": { "alias": "shadow"; "required": false; "isSignal": true; }; "glass": { "alias": "glass"; "required": false; "isSignal": true; }; }, {}, never, ["st-card-title", "st-card-content", "st-card-actions"], true, never>;
|
|
27
26
|
}
|