@osmova/quasar-design-system 0.0.0-stage → 0.8.0
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 +705 -0
- package/LICENSE +27 -0
- package/README.md +278 -2
- package/dist/icons/quasar-icon-set.d.ts +141 -0
- package/dist/icons/quasar-icon-set.d.ts.map +1 -0
- package/dist/icons/quasar-icon-set.js +168 -0
- package/dist/icons/quasar-icon-set.js.map +1 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +5 -0
- package/dist/index.js.map +1 -0
- package/dist/qwindow.d.ts +119 -0
- package/dist/qwindow.d.ts.map +1 -0
- package/dist/qwindow.js +221 -0
- package/dist/qwindow.js.map +1 -0
- package/dist/runtime/theme.d.ts +86 -0
- package/dist/runtime/theme.d.ts.map +1 -0
- package/dist/runtime/theme.js +256 -0
- package/dist/runtime/theme.js.map +1 -0
- package/dist/themes/index.d.ts +51 -0
- package/dist/themes/index.d.ts.map +1 -0
- package/dist/themes/index.js +115 -0
- package/dist/themes/index.js.map +1 -0
- package/dist/tokens/index.d.ts +18 -0
- package/dist/tokens/index.d.ts.map +1 -0
- package/dist/tokens/index.js +570 -0
- package/dist/tokens/index.js.map +1 -0
- package/package.json +148 -4
- package/src/css/_base.scss +108 -0
- package/src/css/_importance.scss +9 -0
- package/src/css/_layers.scss +7 -0
- package/src/css/_materials.scss +21 -0
- package/src/css/_utilities.scss +79 -0
- package/src/css/components/_actions.scss +181 -0
- package/src/css/components/_badge.scss +100 -0
- package/src/css/components/_button.scss +345 -0
- package/src/css/components/_card.scss +150 -0
- package/src/css/components/_chip.scss +162 -0
- package/src/css/components/_complex-media.scss +292 -0
- package/src/css/components/_compositions.scss +169 -0
- package/src/css/components/_dialog.scss +85 -0
- package/src/css/components/_drawer.scss +59 -0
- package/src/css/components/_field.scss +421 -0
- package/src/css/components/_footer.scss +16 -0
- package/src/css/components/_form-field.scss +278 -0
- package/src/css/components/_forms.scss +288 -0
- package/src/css/components/_list.scss +137 -0
- package/src/css/components/_loading-data.scss +132 -0
- package/src/css/components/_menu.scss +69 -0
- package/src/css/components/_notification.scss +78 -0
- package/src/css/components/_pagination.scss +65 -0
- package/src/css/components/_plugins.scss +82 -0
- package/src/css/components/_popup.scss +33 -0
- package/src/css/components/_rating.scss +46 -0
- package/src/css/components/_selection.scss +391 -0
- package/src/css/components/_table.scss +119 -0
- package/src/css/components/_tabs.scss +89 -0
- package/src/css/components/_toolbar.scss +78 -0
- package/src/css/components/variants/_atrium.scss +123 -0
- package/src/css/components/variants/_mechanics.scss +22 -0
- package/src/css/components/variants/_zen.scss +147 -0
- package/src/css/extensions/_qwindow-styles.scss +89 -0
- package/src/css/extensions/qwindow.layered.scss +7 -0
- package/src/css/extensions/qwindow.scss +5 -0
- package/src/css/index.layered.scss +71 -0
- package/src/css/index.scss +62 -0
- package/src/env.d.ts +6 -0
- package/src/fonts/THIRD_PARTY_NOTICES.md +103 -0
- package/src/fonts/files/.gitkeep +0 -0
- package/src/fonts/files/inter-latin-ext-wght-normal.woff2 +0 -0
- package/src/fonts/files/inter-latin-wght-normal.woff2 +0 -0
- package/src/fonts/files/open-sans-latin-ext-wght-normal.woff2 +0 -0
- package/src/fonts/files/open-sans-latin-wght-normal.woff2 +0 -0
- package/src/fonts/files/selawik-bold.woff2 +0 -0
- package/src/fonts/files/selawik-regular.woff2 +0 -0
- package/src/fonts/files/selawik-semibold.woff2 +0 -0
- package/src/fonts/inter.css +19 -0
- package/src/fonts/open-sans.css +19 -0
- package/src/fonts/selawik.css +24 -0
- package/src/icons/quasar-icon-set.ts +245 -0
- package/src/index.ts +35 -0
- package/src/quasar.variables.scss +96 -0
- package/src/qwindow.ts +289 -0
- package/src/runtime/theme.ts +401 -0
- package/src/themes/_shadcn.scss +275 -0
- package/src/themes/default.scss +513 -0
- package/src/themes/fallbacks.scss +492 -0
- package/src/themes/index.ts +155 -0
- package/src/tokens/SHADCN-NOTICE.md +37 -0
- package/src/tokens/_default.scss +246 -0
- package/src/tokens/_shadcn.scss +237 -0
- package/src/tokens/index.ts +637 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Bastien Viglianti
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
This package's source code is MIT-licensed. It additionally redistributes
|
|
26
|
+
third-party font files (woff2) under the SIL Open Font License 1.1. Their
|
|
27
|
+
notices and the full OFL text are in src/fonts/THIRD_PARTY_NOTICES.md.
|
package/README.md
CHANGED
|
@@ -1,3 +1,279 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Quasar Design System
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Opinionated Quasar 2 design system inspired by Microsoft Fluent 2, Apple's Human Interface Guidelines, and Samsung One UI.
|
|
4
|
+
|
|
5
|
+
Published as `@osmova/quasar-design-system`. It contains only generic visual language — no business logic, models, or app-specific assumptions.
|
|
6
|
+
|
|
7
|
+
Previously published as `@bastvi/quasar-design-system`. Existing releases remain available; migrate the package dependency and import paths to `@osmova/quasar-design-system`. The exported API and visual styling are unchanged by the scope migration.
|
|
8
|
+
|
|
9
|
+
[Live gallery](https://qds.osmova.com/) · [Component catalog](https://qds.osmova.com/histoire/)
|
|
10
|
+
|
|
11
|
+
## Goals
|
|
12
|
+
|
|
13
|
+
- Provide a full Quasar 2 visual layer: tokens, surfaces, shape, motion, typography, and component overrides.
|
|
14
|
+
- Keep functional libraries (components, features, models, entities, helpers, composables) separate from the visual language.
|
|
15
|
+
- Let apps opt into the design system explicitly instead of forcing every consumer into one visual language.
|
|
16
|
+
- Support multiple close variants of the same design language without pretending to be strict Fluent UI compliance.
|
|
17
|
+
|
|
18
|
+
## Design Direction
|
|
19
|
+
|
|
20
|
+
The default language is Microsoft Fluent 2-inspired and neutral-first: colour marks the primary action and status, everything else is a calm grey. Apple and One UI contribute softer corners, grouped inset rows, and touch comfort.
|
|
21
|
+
|
|
22
|
+
- neutral grey surfaces and text, a Fluent blue brand for the primary CTA, charcoal secondary, marigold accent
|
|
23
|
+
- compact 24/32/40px controls with quiet 1px strokes and subtle state layers
|
|
24
|
+
- label-above fields
|
|
25
|
+
- Windows 11 geometry: 4px control and 8px card/dialog radii (variants keep their own); cards are flat layers with a hairline stroke
|
|
26
|
+
- a clear 2px brand focus stroke
|
|
27
|
+
- adaptive light/dark/system mode
|
|
28
|
+
- deliberate variant overlays (see Variants), not separate brands
|
|
29
|
+
|
|
30
|
+
## Install
|
|
31
|
+
|
|
32
|
+
```bash
|
|
33
|
+
pnpm add @osmova/quasar-design-system
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
> **Built TS + source SCSS.** TypeScript runtime entrypoints ship pre-compiled as ESM
|
|
37
|
+
> JS with `.d.ts` declarations in `dist/`. SCSS and font exports remain in raw `src/`
|
|
38
|
+
> so your build pipeline can consume and customize them. Import the design-system CSS
|
|
39
|
+
> **after** Quasar's own CSS. Git/source installs run the package `prepare` script to
|
|
40
|
+
> generate `dist/`; npm releases already include the built files.
|
|
41
|
+
|
|
42
|
+
## Basic Usage
|
|
43
|
+
|
|
44
|
+
Import Quasar's own CSS first, then the design-system CSS:
|
|
45
|
+
|
|
46
|
+
```ts
|
|
47
|
+
import 'quasar/src/css/index.sass'
|
|
48
|
+
import '@osmova/quasar-design-system/css'
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
The default `./css` bundle is **unlayered** and must be imported **after** Quasar's CSS — Quasar ships unlayered CSS, so the overrides win on cascade order plus specificity, not on `@layer`. If your app deliberately places Quasar's CSS in a lower `@layer`, use the advanced `@osmova/quasar-design-system/css/layered` bundle instead. Mixing the layered bundle with unlayered Quasar CSS is unsupported (a layer cannot beat unlayered rules).
|
|
52
|
+
|
|
53
|
+
For the layered path, declare the order **before** importing either framework or skin. Normal rules prefer the later `qds` layer; important rules reverse that order, so the same QDS important declarations live in the earliest `qds-important` layer:
|
|
54
|
+
|
|
55
|
+
```css
|
|
56
|
+
/* quasar-layered.css */
|
|
57
|
+
@layer qds-important, quasar, qds;
|
|
58
|
+
@import 'quasar/dist/quasar.css' layer(quasar);
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
```ts
|
|
62
|
+
import './quasar-layered.css'
|
|
63
|
+
import '@osmova/quasar-design-system/css/layered'
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
Choose one adoption path; do not combine the default and layered exports in the same Sass compilation. Inline author important declarations still win over stylesheet declarations.
|
|
67
|
+
|
|
68
|
+
For a deeper Quasar integration, use the package Sass variable bridge from your app-level `quasar.variables.scss`:
|
|
69
|
+
|
|
70
|
+
```scss
|
|
71
|
+
@use '@osmova/quasar-design-system/quasar-variables' as *;
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
This is the first styling layer: it overrides Quasar Sass defaults where Quasar exposes variables. The runtime CSS then defines design tokens, and direct component selectors are only used for behavior or polish that Quasar variables cannot express.
|
|
75
|
+
|
|
76
|
+
Configure the runtime theme controller during app startup:
|
|
77
|
+
|
|
78
|
+
```ts
|
|
79
|
+
import { configureDesignSystem } from '@osmova/quasar-design-system'
|
|
80
|
+
|
|
81
|
+
configureDesignSystem(app, {
|
|
82
|
+
mode: 'system',
|
|
83
|
+
variant: 'fluent',
|
|
84
|
+
persist: true,
|
|
85
|
+
})
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
Add `qds-ui` to the body automatically through `configureDesignSystem()`. The class scopes the stronger Quasar overrides.
|
|
89
|
+
|
|
90
|
+
## Optional Modules
|
|
91
|
+
|
|
92
|
+
Optional modules stay out of the default runtime and CSS bundle. Install their native peer explicitly, import the native CSS first, then import the QDS extension stylesheet.
|
|
93
|
+
|
|
94
|
+
### QWindow
|
|
95
|
+
|
|
96
|
+
`QdsWindow` wraps `@quasar/quasar-ui-qwindow` with QDS BEM chrome (`.qds-window`, `.qds-window__*`, `.qds-window--*`) while passing QWindow props, slots, methods, and events through to the native component.
|
|
97
|
+
|
|
98
|
+
```bash
|
|
99
|
+
pnpm add @quasar/quasar-ui-qwindow @osmova/quasar-design-system
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
```ts
|
|
103
|
+
import '@quasar/quasar-ui-qwindow/index.css'
|
|
104
|
+
import '@osmova/quasar-design-system/css/extensions/qwindow'
|
|
105
|
+
import { QdsWindow } from '@osmova/quasar-design-system/qwindow'
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
For layered Quasar setups, use `@osmova/quasar-design-system/css/extensions/qwindow/layered` instead. Do not import either QWindow stylesheet unless the native QWindow peer is installed and used.
|
|
109
|
+
|
|
110
|
+
When using that layered extension, also import the native QWindow stylesheet into `layer(quasar)` in the CSS file above, rather than importing it unlayered. Consumer `titlebarStyle`, colors, and other authored paint are preserved. Consumers own text and focus contrast on arbitrary authored backgrounds; the library's palette contrast guarantees do not extend to arbitrary color combinations.
|
|
111
|
+
|
|
112
|
+
> **Native QWindow minimize caveat:** `@quasar/quasar-ui-qwindow@3.0.0` exposes a `minimize` action/method, but that native action currently throws in its internal state guard. `QdsWindow` therefore treats `minimized` as a consumer-controlled visual state and filters `minimize` out of the native action list. Use your application state layer, such as a taskbar/window store, to hide and restore minimized windows until the peer fixes this action.
|
|
113
|
+
|
|
114
|
+
## Buttons, Badges, and Chips
|
|
115
|
+
|
|
116
|
+
Neutral comes first; add `color` when the control carries meaning.
|
|
117
|
+
|
|
118
|
+
```vue
|
|
119
|
+
<q-btn label="Cancel" /> <!-- neutral default: surface fill + 1px stroke -->
|
|
120
|
+
<q-btn unelevated color="primary" label="Save" /> <!-- solid: primary CTA -->
|
|
121
|
+
<q-btn outline color="primary" label="Edit" /> <!-- outlined -->
|
|
122
|
+
<q-btn flat label="More" /> <!-- subtle: no fill until hover -->
|
|
123
|
+
<q-btn unelevated class="qds-tonal" color="primary" label="Preview" /> <!-- opt-in tonal wash -->
|
|
124
|
+
```
|
|
125
|
+
|
|
126
|
+
| Component | No `color` | With `color` | Opt-in |
|
|
127
|
+
| --- | --- | --- | --- |
|
|
128
|
+
| `QBtn` | neutral | solid role fill | `.qds-tonal` soft wash |
|
|
129
|
+
| `QBadge` | neutral tint | solid role fill | `.qds-tonal` soft wash |
|
|
130
|
+
| `QChip` | neutral tint | soft role tint | `.qds-solid` solid fill |
|
|
131
|
+
|
|
132
|
+
Chips stay soft by default because they usually sit in groups; `.qds-solid` is only meaningful on chips. Buttons sit on the 24/32/40px scale (`size="sm"`, default, `size="lg"`); `dense` uses the 24px step.
|
|
133
|
+
|
|
134
|
+
## Fields
|
|
135
|
+
|
|
136
|
+
`QInput`, `QSelect`, and the other `QField` controls place the label **above** a 32px control (24px dense) with a 1px stroke and a 2px brand bar on focus. No markup changes are needed.
|
|
137
|
+
|
|
138
|
+
Older layouts stay available per field:
|
|
139
|
+
|
|
140
|
+
- `qds-field--float` — Quasar's floating label inside a 48px control
|
|
141
|
+
- `qds-field--stacked-animated` — label animates to the top edge inside the control
|
|
142
|
+
- `qds-form--label-start` + `qds-field--start` — labels in a shared side column on wide screens, collapsing to label-above on narrow ones
|
|
143
|
+
|
|
144
|
+
## Icons
|
|
145
|
+
|
|
146
|
+
Icons use Phosphor through a Quasar icon-set (no Material Icons):
|
|
147
|
+
|
|
148
|
+
```ts
|
|
149
|
+
import { Quasar } from 'quasar'
|
|
150
|
+
import { qdsIconSet } from '@osmova/quasar-design-system'
|
|
151
|
+
|
|
152
|
+
app.use(Quasar, { iconSet: qdsIconSet })
|
|
153
|
+
```
|
|
154
|
+
|
|
155
|
+
For content icons, use `@phosphor-icons/vue` (duotone for feature icons, line weight for controls).
|
|
156
|
+
|
|
157
|
+
## Fonts
|
|
158
|
+
|
|
159
|
+
Inter (body and display), Open Sans (compatibility/body alternative), and Selawik (an optional display face an app may enable) ship as optional CSS — import what you need:
|
|
160
|
+
|
|
161
|
+
```ts
|
|
162
|
+
import '@osmova/quasar-design-system/fonts/inter.css'
|
|
163
|
+
import '@osmova/quasar-design-system/fonts/open-sans.css'
|
|
164
|
+
import '@osmova/quasar-design-system/fonts/selawik.css'
|
|
165
|
+
```
|
|
166
|
+
|
|
167
|
+
The display stack follows the body stack (Inter) by default. Selawik is not part of any default stack; to use it for display text, import its CSS and set the token after the QDS CSS:
|
|
168
|
+
|
|
169
|
+
```css
|
|
170
|
+
:root { --qds-font-family-display: 'Selawik', var(--qds-font-family); }
|
|
171
|
+
```
|
|
172
|
+
|
|
173
|
+
The core CSS only declares the font stack, so skipping these still yields a sane system fallback. An accent font token is reserved for future use.
|
|
174
|
+
|
|
175
|
+
## Materials
|
|
176
|
+
|
|
177
|
+
Overlays use Windows 11-style acrylic materials: menus, popups, pickers, and notifications use the
|
|
178
|
+
regular material; dialogs and the bottom sheet the thick one; tooltips the thin one. The page sits on a Mica backdrop
|
|
179
|
+
(`--qds-backdrop`, painted on a fixed `body::before` layer), and the header, drawer, and toolbars use the opaque
|
|
180
|
+
`--qds-mica-alt` tint. Cards stay solid; add `qds-material` (or `qds-material--thin` /
|
|
181
|
+
`qds-material--thick`) to opt an element into a material.
|
|
182
|
+
|
|
183
|
+
Materials fall back to solid surfaces without `backdrop-filter` support, under `prefers-reduced-transparency: reduce`,
|
|
184
|
+
and in forced-colors mode. The `ink` variant is always solid; `term` keeps acrylic only on menus and opt-in materials;
|
|
185
|
+
`one` keeps acrylic menus, tooltips and popups on a flat page (no Mica tint), with solid dialogs and bottom sheets.
|
|
186
|
+
|
|
187
|
+
Tokens: `--qds-material-{thin,regular,thick}-{bg,blur,filter}`, `--qds-material-saturate`, `--qds-material-stroke`,
|
|
188
|
+
`--qds-material-edge`, `--qds-mica-alt`, `--qds-backdrop` (a full `background` value, not a colour).
|
|
189
|
+
|
|
190
|
+
## Variants
|
|
191
|
+
|
|
192
|
+
The package is structured around `src/themes/`. For now there is one real theme, `default`, plus small runtime variants layered over it:
|
|
193
|
+
|
|
194
|
+
- `fluent`: default Fluent 2-inspired direction with a Mica app backdrop, acrylic overlays, solid reading surfaces, and low-border content. Absorbs the legacy Air translucency behavior.
|
|
195
|
+
- `ink`: paper-neutral editorial surfaces with charcoal type and coordinated pastel role washes.
|
|
196
|
+
- `one`: Samsung One UI-inspired neutral grey or true-black pages, rounded blocks, pill controls, a calm blue accent, and touch-friendly rhythm.
|
|
197
|
+
- `term`: opaque amber developer UI on warm cream or near-black panes, with crisp hairline rules, amber fills carrying dark ink, and a monospace-forward feel.
|
|
198
|
+
- `zen`: linen paper with sage controls and a quiet reading rhythm — warm linen surfaces, a muted sage primary, 12px control and 20px block radii, gentle diffuse depth, and an essential 1px edge on every control so nothing depends on a shadow alone. The opt-in `.qds-reading` class strips decorative depth and motion while every boundary survives.
|
|
199
|
+
- `shadcn`: opaque New York-inspired native Quasar controls with Neutral (default), Gray, Zinc, Stone, and Slate base palettes, compact 36px regular controls, 8px control radii, and 14px card radii. No Tailwind or Reka dependency is required by the package.
|
|
200
|
+
|
|
201
|
+
They are not separate brands — deliberate overlays over the same token system.
|
|
202
|
+
|
|
203
|
+
Choose the variant once at app startup and let the runtime keep the matching body class in sync:
|
|
204
|
+
|
|
205
|
+
```ts
|
|
206
|
+
configureDesignSystem(app, {
|
|
207
|
+
mode: 'system',
|
|
208
|
+
variant: 'ink', // fluent | ink | one | term | shadcn | zen
|
|
209
|
+
})
|
|
210
|
+
```
|
|
211
|
+
|
|
212
|
+
Legacy inputs `air`, `glass`, and `studio` resolve to `fluent`; `feather` resolves to `ink`; `mobile` resolves to `one`; `terminal` resolves to `term`. The runtime accepts these legacy names for options, `setVariant` and persisted state, but writes only the canonical body classes; new apps should use the canonical names above.
|
|
213
|
+
|
|
214
|
+
### Shadcn adoption and compatibility
|
|
215
|
+
|
|
216
|
+
The new `shadcn` styling requires **Quasar 2.35 or newer**. The package's existing `quasar: ^2.0.0` peer range is unchanged for existing variants; this is not a claim that shadcn is tested on every Quasar 2 release. These changes ship in `@osmova/quasar-design-system` `0.8.0` on the stable `latest` channel; the legacy `@bastvi/quasar-design-system` package remains on `0.7.0` and receives no further releases.
|
|
217
|
+
|
|
218
|
+
```ts
|
|
219
|
+
import {
|
|
220
|
+
configureDesignSystem, SHADCN_BASE_COLORS,
|
|
221
|
+
type ShadcnBaseColor,
|
|
222
|
+
} from '@osmova/quasar-design-system'
|
|
223
|
+
|
|
224
|
+
const theme = configureDesignSystem(app, {
|
|
225
|
+
mode: 'system', variant: 'shadcn', shadcnBaseColor: 'zinc', persist: true,
|
|
226
|
+
})
|
|
227
|
+
const nextPalette: ShadcnBaseColor = 'stone'
|
|
228
|
+
theme.setShadcnBaseColor(nextPalette)
|
|
229
|
+
// SHADCN_BASE_COLORS contains typed { name, label } entries for palette pickers.
|
|
230
|
+
// theme.shadcnBaseColor.value and theme.state.shadcnBaseColor expose the selection.
|
|
231
|
+
```
|
|
232
|
+
|
|
233
|
+
Mode, variant, and `shadcnBaseColor` persist together under the existing storage key (`bastvi.quasar-design-system.theme` by default). A valid stored palette wins over configuration; an older stored record without that field keeps the configured palette, or Neutral. Invalid JavaScript/storage palette values normalize to Neutral. Switching to another variant retains the palette selection but removes `data-qds-shadcn-base-color`; returning to shadcn restores it. `destroy()` removes owned attributes/classes and the system-theme listener. The controller can be created without a DOM for SSR; select deterministic server markup and initialize on the client to apply system preference and persistence.
|
|
234
|
+
|
|
235
|
+
Use the default **body target** for Quasar's teleported dialogs, menus, tooltips, notifications, and loading plugins. A custom `target` scopes descendant controls only: portals mounted elsewhere do not inherit it, and body typography/backdrop rules are not relocated to that subtree. Supported visual scoping is a single body root or an isolated custom root; sibling roots can be themed independently when their scopes do not overlap. Put the variant, palette, and mode on the **same element**.
|
|
236
|
+
|
|
237
|
+
**Known limitation — nested theme roots:** arbitrary independently themed roots nested inside another theme root are not supported as nearest-palette boundaries for component grammar or local-dark paint. For example, a native local-dark card inside an inner Neutral root can still take the outer Slate palette. Use non-overlapping isolated render roots or separate documents/iframes when independently themed component trees need isolation; do not rely on a nested palette attribute to reset all component styling.
|
|
238
|
+
|
|
239
|
+
Within a supported single body or isolated custom root, local dark classes emitted by supported native components rebind the palette; explicit light styling is supported only when an observable native light marker exists. A `dark=false` prop with no distinguishing DOM marker cannot be inferred by CSS.
|
|
240
|
+
|
|
241
|
+
CSS-only usage needs no controller:
|
|
242
|
+
|
|
243
|
+
```html
|
|
244
|
+
<body class="qds-ui qds-variant-shadcn qds-theme-light"
|
|
245
|
+
data-qds-shadcn-base-color="neutral">
|
|
246
|
+
```
|
|
247
|
+
|
|
248
|
+
Use `qds-theme-dark` for dark mode, or a consistent `data-qds-resolved="light|dark"`; an explicit resolved light value takes precedence over stale dark classes. Within a supported body or isolated root, missing/invalid palette attributes use Neutral. CSS-only mode does not synchronize Quasar's Dark plugin, follow system preference, or persist choices: those remain the consumer's responsibility.
|
|
249
|
+
|
|
250
|
+
Keep QDS after Quasar for the default export. For the layered export, layer Quasar deliberately; **important declarations reverse layer order**, so audit consumer important overrides separately from normal declarations. The theme already bridges the seven Quasar role variables (`--q-primary`, `--q-secondary`, `--q-accent`, `--q-positive`, `--q-negative`, `--q-warning`, `--q-info`) within shadcn and local scheme boundaries; it does not mutate global Quasar colors or `--q-dark`. Unlayered consumer overrides after QDS are supported. Primitive overrides inside a component must also rebind the semantic aliases that consume them, because inherited custom properties can already be resolved at their parent scope.
|
|
251
|
+
|
|
252
|
+
Unlike Fluent, an ordinary uncolored filled shadcn button is a primary action; contextual picker, pagination, toggle, and editor controls retain their native grammar. Flat, outline, push, dense, rounded/square, loading, literal palette colors, and explicit sizes remain distinct. Semantic solid fills own their on-fill foreground even with `text-color="white"` or normal inline text color; inline **important** author color wins. Literal combinations such as `color="red-7" text-color="white"` stay native. Use `.qds-tonal` for a soft button/badge and `.qds-solid` for a solid chip. `.qds-button--link` supplies a link-like visual treatment but does not change button semantics. Shadcn fields use perimeter strokes/focus halos rather than Fluent's focus bar, and surfaces remain opaque rather than acrylic.
|
|
253
|
+
|
|
254
|
+
### Reference provenance
|
|
255
|
+
|
|
256
|
+
Shadcn values and geometry reference the MIT-licensed [unovue/shadcn-vue](https://github.com/unovue/shadcn-vue/tree/b251d9fd92aa496495e127137a7734704fb34a29), commit `b251d9fd92aa496495e127137a7734704fb34a29`, New York v4 registry. Neutral/Stone/Zinc come from `apps/v4/registry/themes.ts`; Gray/Slate use the same commit's official legacy HSL theme files, not invented modern OKLCH profiles. Missing legacy sidebar slots are explicit same-palette aliases. Text, focus, and role hover/pressed colors are minimally calibrated for contrast after sRGB quantization rather than silently reproducing unreadable upstream pairs. Inter and Phosphor remain the package's font/icon direction; the isolated reference normalizes these and is not a Lucide-silhouette or strict pixel-match oracle. The shipped [shadcn adaptation notice](src/tokens/SHADCN-NOTICE.md) includes the upstream copyright and complete MIT license. The development-only reference retains its own vendored license and integrity manifest and is excluded from the published package.
|
|
257
|
+
|
|
258
|
+
## Component Coverage
|
|
259
|
+
|
|
260
|
+
QDS skins visible Quasar chrome — buttons, cards, inputs, toolbars, drawers, lists, expansion items, and similar surfaces that carry tokenized visual treatment. The release gallery and Histoire catalog exercise the high-value sub-elements across forms/pickers, data/navigation/layout, media/complex/loading, and overlays/plugins.
|
|
261
|
+
|
|
262
|
+
Public QDS-owned component classes use strict namespaced BEM for new optional modules: block `.qds-window`, elements such as `.qds-window__titlebar`, and modifiers such as `.qds-window--embedded`. Utility hooks such as `.qds-ui`, `.qds-tonal`, `.qds-solid`, and variant classes remain intentionally semantic rather than component blocks.
|
|
263
|
+
|
|
264
|
+
It intentionally does **not** add CSS for behavior-only, SSR, observer, or composable surfaces. These inherit Quasar's own defaults or have no visual representation at all:
|
|
265
|
+
|
|
266
|
+
- **SSR/layout helpers:** `QNoSSR`, `QResponsive`, `QSpace`, `QSlideTransition`
|
|
267
|
+
- **Observer helpers:** `QIntersection`, `QResizeObserver`, `QScrollObserver`
|
|
268
|
+
- **Icon component:** `QIcon` itself is not separately skinned — QDS provides the Phosphor `qdsIconSet` and font guidance instead
|
|
269
|
+
- **Nonvisual plugins:** AddressbarColor, AppFullscreen, AppVisibility, Cookies, Dark, Meta, Local/Session Storage
|
|
270
|
+
- **Behavior directives:** `v-close-popup`, `v-intersection`, `v-mutation`, `v-morph`, `v-scroll`, `v-scroll-fire`, `v-touch-*`; Material Ripple is intentionally suppressed in QDS surfaces
|
|
271
|
+
- **Composables and utilities:** no CSS added unless visual behavior is directly affected
|
|
272
|
+
|
|
273
|
+
Layout helpers that carry visible chrome (header, footer, toolbar, sticky child controls) are covered through the gallery examples and visual tests; scroll/position observers remain behavior-only unless an app adds visible child controls.
|
|
274
|
+
|
|
275
|
+
Some interaction-heavy Quasar states are intentionally documented/manual rather than automated in the visual gate because they depend on teleported overlays, gestures, or scroll thresholds: QPopupEdit popup interaction, QPageScroller activation, QSlideItem and QPullToRefresh gestures, and QInfiniteScroll scroll-triggered loading. Static skins and common visible states remain covered.
|
|
276
|
+
|
|
277
|
+
## Gallery
|
|
278
|
+
|
|
279
|
+
Live: **https://qds.osmova.com** · run locally with `pnpm gallery:dev` (build with `pnpm gallery:build`).
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Quasar icon-set using Phosphor LINE (regular) icons from quasar-extras-svg-icons.
|
|
3
|
+
*
|
|
4
|
+
* Internal control icons (QSelect arrow, QChip close, pagination, expansion chevrons, etc.)
|
|
5
|
+
* use Phosphor "regular" (line) weight — NOT duotone, which collapses at 16–18px.
|
|
6
|
+
*
|
|
7
|
+
* Content / feature icons (app-level): use @phosphor-icons/vue with weight="duotone"
|
|
8
|
+
* e.g. <PhBell weight="duotone" size="1.25em" color="currentColor" />
|
|
9
|
+
*/
|
|
10
|
+
declare const qdsIconSet: {
|
|
11
|
+
readonly name: "qds-phosphor";
|
|
12
|
+
readonly type: {
|
|
13
|
+
readonly positive: string;
|
|
14
|
+
readonly negative: string;
|
|
15
|
+
readonly info: string;
|
|
16
|
+
readonly warning: string;
|
|
17
|
+
};
|
|
18
|
+
readonly arrow: {
|
|
19
|
+
readonly up: string;
|
|
20
|
+
readonly right: string;
|
|
21
|
+
readonly down: string;
|
|
22
|
+
readonly left: string;
|
|
23
|
+
readonly dropdown: string;
|
|
24
|
+
};
|
|
25
|
+
readonly chevron: {
|
|
26
|
+
readonly left: string;
|
|
27
|
+
readonly right: string;
|
|
28
|
+
};
|
|
29
|
+
readonly colorPicker: {
|
|
30
|
+
readonly spectrum: string;
|
|
31
|
+
readonly tune: string;
|
|
32
|
+
readonly palette: string;
|
|
33
|
+
};
|
|
34
|
+
readonly pullToRefresh: {
|
|
35
|
+
readonly icon: string;
|
|
36
|
+
};
|
|
37
|
+
readonly carousel: {
|
|
38
|
+
readonly left: string;
|
|
39
|
+
readonly right: string;
|
|
40
|
+
readonly up: string;
|
|
41
|
+
readonly down: string;
|
|
42
|
+
readonly navigationIcon: string;
|
|
43
|
+
};
|
|
44
|
+
readonly chip: {
|
|
45
|
+
readonly remove: string;
|
|
46
|
+
readonly selected: string;
|
|
47
|
+
};
|
|
48
|
+
readonly datetime: {
|
|
49
|
+
readonly arrowLeft: string;
|
|
50
|
+
readonly arrowRight: string;
|
|
51
|
+
readonly now: string;
|
|
52
|
+
readonly today: string;
|
|
53
|
+
};
|
|
54
|
+
readonly editor: {
|
|
55
|
+
readonly bold: string;
|
|
56
|
+
readonly italic: string;
|
|
57
|
+
readonly strikethrough: string;
|
|
58
|
+
readonly underline: string;
|
|
59
|
+
readonly unorderedList: string;
|
|
60
|
+
readonly orderedList: string;
|
|
61
|
+
readonly subscript: string;
|
|
62
|
+
readonly superscript: string;
|
|
63
|
+
readonly hyperlink: string;
|
|
64
|
+
readonly toggleFullscreen: string;
|
|
65
|
+
readonly quote: string;
|
|
66
|
+
readonly left: string;
|
|
67
|
+
readonly center: string;
|
|
68
|
+
readonly right: string;
|
|
69
|
+
readonly justify: string;
|
|
70
|
+
readonly print: string;
|
|
71
|
+
readonly outdent: string;
|
|
72
|
+
readonly indent: string;
|
|
73
|
+
readonly removeFormat: string;
|
|
74
|
+
readonly formatting: string;
|
|
75
|
+
readonly fontSize: string;
|
|
76
|
+
readonly align: string;
|
|
77
|
+
readonly hr: string;
|
|
78
|
+
readonly undo: string;
|
|
79
|
+
readonly redo: string;
|
|
80
|
+
readonly heading: string;
|
|
81
|
+
readonly code: string;
|
|
82
|
+
readonly size: string;
|
|
83
|
+
readonly font: string;
|
|
84
|
+
readonly viewSource: string;
|
|
85
|
+
};
|
|
86
|
+
readonly expansionItem: {
|
|
87
|
+
readonly icon: string;
|
|
88
|
+
readonly denseIcon: string;
|
|
89
|
+
};
|
|
90
|
+
readonly fab: {
|
|
91
|
+
readonly icon: string;
|
|
92
|
+
readonly activeIcon: string;
|
|
93
|
+
};
|
|
94
|
+
readonly field: {
|
|
95
|
+
readonly clear: string;
|
|
96
|
+
readonly error: string;
|
|
97
|
+
};
|
|
98
|
+
readonly pagination: {
|
|
99
|
+
readonly first: string;
|
|
100
|
+
readonly prev: string;
|
|
101
|
+
readonly next: string;
|
|
102
|
+
readonly last: string;
|
|
103
|
+
};
|
|
104
|
+
readonly rating: {
|
|
105
|
+
readonly icon: string;
|
|
106
|
+
};
|
|
107
|
+
readonly stepper: {
|
|
108
|
+
readonly done: string;
|
|
109
|
+
readonly active: string;
|
|
110
|
+
readonly error: string;
|
|
111
|
+
};
|
|
112
|
+
readonly tabs: {
|
|
113
|
+
readonly left: string;
|
|
114
|
+
readonly right: string;
|
|
115
|
+
readonly up: string;
|
|
116
|
+
readonly down: string;
|
|
117
|
+
};
|
|
118
|
+
readonly table: {
|
|
119
|
+
readonly arrowUp: string;
|
|
120
|
+
readonly warning: string;
|
|
121
|
+
readonly firstPage: string;
|
|
122
|
+
readonly prevPage: string;
|
|
123
|
+
readonly nextPage: string;
|
|
124
|
+
readonly lastPage: string;
|
|
125
|
+
};
|
|
126
|
+
readonly tree: {
|
|
127
|
+
readonly icon: string;
|
|
128
|
+
};
|
|
129
|
+
readonly uploader: {
|
|
130
|
+
readonly done: string;
|
|
131
|
+
readonly clear: string;
|
|
132
|
+
readonly add: string;
|
|
133
|
+
readonly upload: string;
|
|
134
|
+
readonly removeQueue: string;
|
|
135
|
+
readonly removeUploaded: string;
|
|
136
|
+
};
|
|
137
|
+
};
|
|
138
|
+
export type QdsIconSet = typeof qdsIconSet;
|
|
139
|
+
export { qdsIconSet };
|
|
140
|
+
export default qdsIconSet;
|
|
141
|
+
//# sourceMappingURL=quasar-icon-set.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"quasar-icon-set.d.ts","sourceRoot":"","sources":["../../src/icons/quasar-icon-set.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAsFH,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkJN,CAAA;AAEV,MAAM,MAAM,UAAU,GAAG,OAAO,UAAU,CAAA;AAC1C,OAAO,EAAE,UAAU,EAAE,CAAA;AACrB,eAAe,UAAU,CAAA"}
|
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Quasar icon-set using Phosphor LINE (regular) icons from quasar-extras-svg-icons.
|
|
3
|
+
*
|
|
4
|
+
* Internal control icons (QSelect arrow, QChip close, pagination, expansion chevrons, etc.)
|
|
5
|
+
* use Phosphor "regular" (line) weight — NOT duotone, which collapses at 16–18px.
|
|
6
|
+
*
|
|
7
|
+
* Content / feature icons (app-level): use @phosphor-icons/vue with weight="duotone"
|
|
8
|
+
* e.g. <PhBell weight="duotone" size="1.25em" color="currentColor" />
|
|
9
|
+
*/
|
|
10
|
+
import { ppArrowDown, ppArrowLeft, ppArrowRight, ppArrowUp, ppArrowClockwise, ppArrowCounterClockwise, ppCaretDown, ppCaretLeft, ppCaretRight, ppCaretDoubleLeft, ppCaretDoubleRight, ppCheckCircle, ppCheck, ppCheckBold, ppPencilSimpleBold, ppExclamationMarkBold, ppCheckSquare, ppX, ppWarning, ppInfo, ppPlus, ppPalette, ppSliders, ppDotOutline, ppEyedropper, ppStar, ppCaretUp, ppCloudArrowUp, ppTrash, ppListBullets, ppListNumbers, ppTextB, ppTextItalic, ppTextUnderline, ppTextStrikethrough, ppTextSubscript, ppTextSuperscript, ppTextIndent, ppTextOutdent, ppLink, ppArrowsOut, ppQuotes, ppAlignLeft, ppAlignRight, ppAlignCenterHorizontal, ppTextAlignJustify, ppCode, ppTextAa, ppMinus, ppPrinter, ppCalendarBlank, ppClock, } from 'quasar-extras-svg-icons/phosphor-icons-v2';
|
|
11
|
+
// Mapped Quasar icon keys (all sections exhaustively covered):
|
|
12
|
+
// type.{positive,negative,info,warning}
|
|
13
|
+
// arrow.{up,right,down,left,dropdown}
|
|
14
|
+
// chevron.{left,right}
|
|
15
|
+
// colorPicker.{spectrum,tune,palette}
|
|
16
|
+
// pullToRefresh.icon
|
|
17
|
+
// carousel.{left,right,up,down,navigationIcon}
|
|
18
|
+
// chip.{remove,selected}
|
|
19
|
+
// datetime.{arrowLeft,arrowRight,now,today}
|
|
20
|
+
// editor.{bold,italic,strikethrough,underline,unorderedList,orderedList,
|
|
21
|
+
// subscript,superscript,hyperlink,toggleFullscreen,quote,left,center,
|
|
22
|
+
// right,justify,print,outdent,indent,removeFormat,formatting,fontSize,
|
|
23
|
+
// align,hr,undo,redo,heading,code,size,font,viewSource}
|
|
24
|
+
// expansionItem.{icon,denseIcon}
|
|
25
|
+
// fab.{icon,activeIcon}
|
|
26
|
+
// field.{clear,error}
|
|
27
|
+
// pagination.{first,prev,next,last}
|
|
28
|
+
// rating.icon
|
|
29
|
+
// stepper.{done,active,error} — Bold weight to stay legible on filled dots
|
|
30
|
+
// tabs.{left,right,up,down}
|
|
31
|
+
// table.{arrowUp,warning,firstPage,prevPage,nextPage,lastPage}
|
|
32
|
+
// tree.icon
|
|
33
|
+
// uploader.{done,clear,add,upload,removeQueue,removeUploaded}
|
|
34
|
+
//
|
|
35
|
+
// Approximations: editor.{undo,redo} — ppArrowCounterClockwise / ppArrowClockwise (standard mapping).
|
|
36
|
+
// editor.{hr,font,size,heading,fontSize,formatting,removeFormat} use the closest
|
|
37
|
+
// semantic matches (ppMinus / ppTextAa / ppX) where Phosphor has no exact glyph.
|
|
38
|
+
const qdsIconSet = {
|
|
39
|
+
name: 'qds-phosphor',
|
|
40
|
+
type: {
|
|
41
|
+
positive: ppCheckCircle,
|
|
42
|
+
negative: ppWarning,
|
|
43
|
+
info: ppInfo,
|
|
44
|
+
warning: ppWarning,
|
|
45
|
+
},
|
|
46
|
+
arrow: {
|
|
47
|
+
up: ppArrowUp,
|
|
48
|
+
right: ppArrowRight,
|
|
49
|
+
down: ppArrowDown,
|
|
50
|
+
left: ppArrowLeft,
|
|
51
|
+
dropdown: ppCaretDown,
|
|
52
|
+
},
|
|
53
|
+
chevron: {
|
|
54
|
+
left: ppCaretLeft,
|
|
55
|
+
right: ppCaretRight,
|
|
56
|
+
},
|
|
57
|
+
colorPicker: {
|
|
58
|
+
spectrum: ppEyedropper,
|
|
59
|
+
tune: ppSliders,
|
|
60
|
+
palette: ppPalette,
|
|
61
|
+
},
|
|
62
|
+
pullToRefresh: {
|
|
63
|
+
icon: ppArrowClockwise,
|
|
64
|
+
},
|
|
65
|
+
carousel: {
|
|
66
|
+
left: ppCaretLeft,
|
|
67
|
+
right: ppCaretRight,
|
|
68
|
+
up: ppCaretUp,
|
|
69
|
+
down: ppCaretDown,
|
|
70
|
+
navigationIcon: ppDotOutline,
|
|
71
|
+
},
|
|
72
|
+
chip: {
|
|
73
|
+
remove: ppX,
|
|
74
|
+
selected: ppCheck,
|
|
75
|
+
},
|
|
76
|
+
datetime: {
|
|
77
|
+
arrowLeft: ppCaretLeft,
|
|
78
|
+
arrowRight: ppCaretRight,
|
|
79
|
+
now: ppClock,
|
|
80
|
+
today: ppCalendarBlank,
|
|
81
|
+
},
|
|
82
|
+
editor: {
|
|
83
|
+
bold: ppTextB,
|
|
84
|
+
italic: ppTextItalic,
|
|
85
|
+
strikethrough: ppTextStrikethrough,
|
|
86
|
+
underline: ppTextUnderline,
|
|
87
|
+
unorderedList: ppListBullets,
|
|
88
|
+
orderedList: ppListNumbers,
|
|
89
|
+
subscript: ppTextSubscript,
|
|
90
|
+
superscript: ppTextSuperscript,
|
|
91
|
+
hyperlink: ppLink,
|
|
92
|
+
toggleFullscreen: ppArrowsOut,
|
|
93
|
+
quote: ppQuotes,
|
|
94
|
+
left: ppAlignLeft,
|
|
95
|
+
center: ppAlignCenterHorizontal,
|
|
96
|
+
right: ppAlignRight,
|
|
97
|
+
justify: ppTextAlignJustify,
|
|
98
|
+
print: ppPrinter,
|
|
99
|
+
outdent: ppTextOutdent,
|
|
100
|
+
indent: ppTextIndent,
|
|
101
|
+
removeFormat: ppX,
|
|
102
|
+
formatting: ppTextAa,
|
|
103
|
+
fontSize: ppTextAa,
|
|
104
|
+
align: ppAlignLeft,
|
|
105
|
+
hr: ppMinus,
|
|
106
|
+
undo: ppArrowCounterClockwise,
|
|
107
|
+
redo: ppArrowClockwise,
|
|
108
|
+
heading: ppTextAa,
|
|
109
|
+
code: ppCode,
|
|
110
|
+
size: ppTextAa,
|
|
111
|
+
font: ppTextAa,
|
|
112
|
+
viewSource: ppCode,
|
|
113
|
+
},
|
|
114
|
+
expansionItem: {
|
|
115
|
+
icon: ppCaretDown,
|
|
116
|
+
denseIcon: ppCaretDown,
|
|
117
|
+
},
|
|
118
|
+
fab: {
|
|
119
|
+
icon: ppPlus,
|
|
120
|
+
activeIcon: ppX,
|
|
121
|
+
},
|
|
122
|
+
field: {
|
|
123
|
+
clear: ppX,
|
|
124
|
+
error: ppWarning,
|
|
125
|
+
},
|
|
126
|
+
pagination: {
|
|
127
|
+
first: ppCaretDoubleLeft,
|
|
128
|
+
prev: ppCaretLeft,
|
|
129
|
+
next: ppCaretRight,
|
|
130
|
+
last: ppCaretDoubleRight,
|
|
131
|
+
},
|
|
132
|
+
rating: {
|
|
133
|
+
icon: ppStar,
|
|
134
|
+
},
|
|
135
|
+
stepper: {
|
|
136
|
+
done: ppCheckBold,
|
|
137
|
+
active: ppPencilSimpleBold,
|
|
138
|
+
error: ppExclamationMarkBold,
|
|
139
|
+
},
|
|
140
|
+
tabs: {
|
|
141
|
+
left: ppCaretLeft,
|
|
142
|
+
right: ppCaretRight,
|
|
143
|
+
up: ppCaretUp,
|
|
144
|
+
down: ppCaretDown,
|
|
145
|
+
},
|
|
146
|
+
table: {
|
|
147
|
+
arrowUp: ppArrowUp,
|
|
148
|
+
warning: ppWarning,
|
|
149
|
+
firstPage: ppCaretDoubleLeft,
|
|
150
|
+
prevPage: ppCaretLeft,
|
|
151
|
+
nextPage: ppCaretRight,
|
|
152
|
+
lastPage: ppCaretDoubleRight,
|
|
153
|
+
},
|
|
154
|
+
tree: {
|
|
155
|
+
icon: ppCaretRight,
|
|
156
|
+
},
|
|
157
|
+
uploader: {
|
|
158
|
+
done: ppCheck,
|
|
159
|
+
clear: ppX,
|
|
160
|
+
add: ppPlus,
|
|
161
|
+
upload: ppCloudArrowUp,
|
|
162
|
+
removeQueue: ppTrash,
|
|
163
|
+
removeUploaded: ppCheckSquare,
|
|
164
|
+
},
|
|
165
|
+
};
|
|
166
|
+
export { qdsIconSet };
|
|
167
|
+
export default qdsIconSet;
|
|
168
|
+
//# sourceMappingURL=quasar-icon-set.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"quasar-icon-set.js","sourceRoot":"","sources":["../../src/icons/quasar-icon-set.ts"],"names":[],"mappings":"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"}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { DEFAULT_DESIGN_SYSTEM_OPTIONS, DESIGN_SYSTEM_THEME_KEY, configureDesignSystem, createDesignSystemController, getDesignSystemController, useDesignSystem, type DesignSystemController, type DesignSystemMode, type DesignSystemOptions, type DesignSystemResolvedMode, type DesignSystemState, } from './runtime/theme.js';
|
|
2
|
+
export { DEFAULT_THEME, DEFAULT_THEME_NAME, DESIGN_SYSTEM_THEMES, DESIGN_SYSTEM_VARIANTS, SHADCN_BASE_COLORS, isShadcnBaseColor, isBuiltInDesignSystemVariantName, isDesignSystemVariantName, type BuiltInDesignSystemVariantName, type CanonicalDesignSystemVariantName, type DesignSystemVariant, type DesignSystemVariantName, type LegacyDesignSystemVariantName, type QuasarDesignTheme, type ShadcnBaseColor, } from './themes/index.js';
|
|
3
|
+
export { QDS_TOKENS, type QdsToken, type QdsTokenMap } from './tokens/index.js';
|
|
4
|
+
export { default as qdsIconSet, type QdsIconSet } from './icons/quasar-icon-set.js';
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,6BAA6B,EAC7B,uBAAuB,EACvB,qBAAqB,EACrB,4BAA4B,EAC5B,yBAAyB,EACzB,eAAe,EACf,KAAK,sBAAsB,EAC3B,KAAK,gBAAgB,EACrB,KAAK,mBAAmB,EACxB,KAAK,wBAAwB,EAC7B,KAAK,iBAAiB,GACvB,MAAM,oBAAoB,CAAA;AAE3B,OAAO,EACL,aAAa,EACb,kBAAkB,EAClB,oBAAoB,EACpB,sBAAsB,EACtB,kBAAkB,EAClB,iBAAiB,EACjB,gCAAgC,EAChC,yBAAyB,EACzB,KAAK,8BAA8B,EACnC,KAAK,gCAAgC,EACrC,KAAK,mBAAmB,EACxB,KAAK,uBAAuB,EAC5B,KAAK,6BAA6B,EAClC,KAAK,iBAAiB,EACtB,KAAK,eAAe,GACrB,MAAM,mBAAmB,CAAA;AAE1B,OAAO,EAAE,UAAU,EAAE,KAAK,QAAQ,EAAE,KAAK,WAAW,EAAE,MAAM,mBAAmB,CAAA;AAE/E,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,KAAK,UAAU,EAAE,MAAM,4BAA4B,CAAA"}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { DEFAULT_DESIGN_SYSTEM_OPTIONS, DESIGN_SYSTEM_THEME_KEY, configureDesignSystem, createDesignSystemController, getDesignSystemController, useDesignSystem, } from './runtime/theme.js';
|
|
2
|
+
export { DEFAULT_THEME, DEFAULT_THEME_NAME, DESIGN_SYSTEM_THEMES, DESIGN_SYSTEM_VARIANTS, SHADCN_BASE_COLORS, isShadcnBaseColor, isBuiltInDesignSystemVariantName, isDesignSystemVariantName, } from './themes/index.js';
|
|
3
|
+
export { QDS_TOKENS } from './tokens/index.js';
|
|
4
|
+
export { default as qdsIconSet } from './icons/quasar-icon-set.js';
|
|
5
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,6BAA6B,EAC7B,uBAAuB,EACvB,qBAAqB,EACrB,4BAA4B,EAC5B,yBAAyB,EACzB,eAAe,GAMhB,MAAM,oBAAoB,CAAA;AAE3B,OAAO,EACL,aAAa,EACb,kBAAkB,EAClB,oBAAoB,EACpB,sBAAsB,EACtB,kBAAkB,EAClB,iBAAiB,EACjB,gCAAgC,EAChC,yBAAyB,GAQ1B,MAAM,mBAAmB,CAAA;AAE1B,OAAO,EAAE,UAAU,EAAmC,MAAM,mBAAmB,CAAA;AAE/E,OAAO,EAAE,OAAO,IAAI,UAAU,EAAmB,MAAM,4BAA4B,CAAA"}
|