@besaitech/ng-design-system 0.0.54 → 0.0.55
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/README.md +6 -3
- package/fesm2022/besaitech-ng-design-system.mjs +1230 -65
- package/fesm2022/besaitech-ng-design-system.mjs.map +1 -1
- package/index.d.ts +354 -29
- package/package.json +1 -1
- package/themes/belvigo-emerald.css +73 -0
package/README.md
CHANGED
|
@@ -69,6 +69,7 @@ This is the step that makes the components look right. Tailwind v4 is CSS-first
|
|
|
69
69
|
@import "@besaitech/ng-design-system/themes/base.css";
|
|
70
70
|
@import "@besaitech/ng-design-system/themes/saitech.css"; /* blues */
|
|
71
71
|
/* @import "@besaitech/ng-design-system/themes/belvigo.css"; black */
|
|
72
|
+
/* @import "@besaitech/ng-design-system/themes/belvigo-emerald.css"; emerald (Belvigo merchant) */
|
|
72
73
|
|
|
73
74
|
/* Override any base default in your own @theme afterwards, e.g. the typeface. */
|
|
74
75
|
@theme {
|
|
@@ -172,13 +173,15 @@ Import names are the `Sl…` classes; the markup selectors are `sds-…`.
|
|
|
172
173
|
| `SdsButton` | `<sds-button>` | `variant` (primary·secondary·tertiary·ghost·danger), `size`, `loading`, `block`, `iconOnly`; `[sdsIconLeading]`/`[sdsIconTrailing]` slots |
|
|
173
174
|
| `SdsInput` | `<sds-input>` | CVA. `label`, `hint`, `error`, `size`, `appearance` (default·on-brand), `leading/trailingIcon`, `clearable` |
|
|
174
175
|
| `SdsTextarea` | `<sds-textarea>` | CVA. Auto-grow, `label`, `hint`, `error` |
|
|
176
|
+
| `SdsTimeInput` | `<sds-time-input>` | CVA time of day, 24 h, value `"HH:mm"` \| null; `minuteStep`, `clearable`, `withSeconds` |
|
|
177
|
+
| `SdsChipGroup` / `SdsChip` | `<sds-chip-group>` / `<sds-chip>` | Filter/choice chips: one or `multiple` (array), counts, `[(value)]` or CVA; single toggle chip `[(selected)]` |
|
|
175
178
|
| `SdsToggleSwitch` | `<sds-toggle-switch>` | CVA boolean toggle |
|
|
176
179
|
| `SdsSelect` | `<sds-select>` | CVA single-select dropdown |
|
|
177
180
|
| `SdsMultiSelect` | `<sds-multi-select>` | CVA multi-select with chips |
|
|
178
181
|
| `SdsDatePicker` / `SdsCalendar` | `<sds-date-picker>` / `<sds-calendar>` | CVA date field + popover calendar (`date-utils` helpers) |
|
|
179
182
|
| `SdsPhoneInput` | `<sds-phone-input>` | CVA phone field with country selector (`phone-countries`) |
|
|
180
183
|
| `SdsIcon` | `<sds-icon>` | Inline-SVG icon; `name`, `size`, `strokeWidth` |
|
|
181
|
-
| `SdsAvatar` | `<sds-avatar>` |
|
|
184
|
+
| `SdsAvatar` | `<sds-avatar>` | Image, initials or `fallbackIcon` + status dot; `shape` (circle·rounded·square), `decorative`; broken image falls back |
|
|
182
185
|
| `SdsBadge` | `<sds-badge>` | Status pill; `variant`, `dot` |
|
|
183
186
|
| `SdsCard` | `<sds-card>` | Surface container; `variant`, `interactive`, `padding` |
|
|
184
187
|
|
|
@@ -186,9 +189,9 @@ Import names are the `Sl…` classes; the markup selectors are `sds-…`.
|
|
|
186
189
|
|
|
187
190
|
| Component | Selectors |
|
|
188
191
|
| --- | --- |
|
|
189
|
-
| Tabs | `<sds-tabs>` · `<sds-tab-list>` · `<sds-tab>` · `<sds-tab-panels>` · `<sds-tab-panel>` |
|
|
192
|
+
| Tabs | `<sds-tabs>` · `<sds-tab-list>` · `<sds-tab>` · `<sds-tab-panels>` · `<sds-tab-panel>` — `controlled` + `(tabSelect)` for query-param/guarded tabs; panels optional |
|
|
190
193
|
| Accordion | `<sds-accordion>` · `<sds-accordion-panel>` · `<sds-accordion-header>` · `<sds-accordion-content>` |
|
|
191
|
-
| Table | `<sds-table>` ·
|
|
194
|
+
| Table | `<sds-table>` · `ng-template[sdsCell]` · `[sdsHeader]` · `[sdsRowExpansion]` · `[sdsTableEmpty]` — `rowClickable`, `[rowClass]` |
|
|
192
195
|
| Paginator | `<sds-paginator>` |
|
|
193
196
|
|
|
194
197
|
**Layout** (use the design tokens / layout vars from step 3b)
|