@swiftwc/ui 0.0.0-dev.107 → 0.0.0-dev.109
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/generated/client/index.js +1 -1
- package/generated/css/index.css +13 -4
- package/generated/internal/flags.d.ts +4 -0
- package/generated/internal/flags.js +1 -0
- package/generated/internal/utils/debug.js +1 -1
- package/package.json +3 -3
- package/scss/colors/_index.scss +3 -2
- package/generated/internal/flags.json +0 -3
|
@@ -2,7 +2,7 @@ import { alertDialog, confirmationDialog as confirmationDialogBus, lifecycleObse
|
|
|
2
2
|
import * as Components from '../components';
|
|
3
3
|
import { I18n } from '../i18n';
|
|
4
4
|
import { NavigationPath } from '../internal/class/navigation-path';
|
|
5
|
-
import flags from '../internal/flags
|
|
5
|
+
import flags from '../internal/flags';
|
|
6
6
|
import { queryInsertPosition, startViewTransition } from '../internal/privateNamespace';
|
|
7
7
|
import { $, debug, kebabCase, onoff } from '../internal/utils';
|
|
8
8
|
import { Snapshot } from '../snapshot';
|
package/generated/css/index.css
CHANGED
|
@@ -10568,10 +10568,19 @@
|
|
|
10568
10568
|
--face: var(--background);
|
|
10569
10569
|
--text: var(--primary);
|
|
10570
10570
|
}
|
|
10571
|
-
:where([is=sheet-view], [is=full-screen], [is=confirmation-dialog], [is=alert-dialog]) {
|
|
10572
|
-
|
|
10573
|
-
|
|
10574
|
-
|
|
10571
|
+
/* :where([is='sheet-view'], [is='full-screen'], [is='confirmation-dialog'], [is='alert-dialog']) {
|
|
10572
|
+
// modify background/secondarybg/tertiarybg etc for ELEVATED STYLES!!
|
|
10573
|
+
// ANCHOR: level 1
|
|
10574
|
+
--face: var(--background); // IMPORTANT: redeclare references scope or it WONT pick up!
|
|
10575
|
+
// --face2: var(--secondaryBackground); // IMPORTANT: redeclare references scope or it WONT pick up!
|
|
10576
|
+
// --face3: var(--tertiaryBackground); // IMPORTANT: redeclare references scope or it WONT pick up!
|
|
10577
|
+
|
|
10578
|
+
// FIXME: feat-sheet 1/3
|
|
10579
|
+
--background: var(--secondaryBackground); //light-dark(var(--secondary-bg), var(--secondary-bg-dark));
|
|
10580
|
+
// --face: light-dark(var(--secondary-bg), var(--secondary-bg-dark));
|
|
10581
|
+
|
|
10582
|
+
// --text: light-dark(var(--secondary-text), var(--secondary-text-dark));
|
|
10583
|
+
} */
|
|
10575
10584
|
@media (min-width: 43rem) {
|
|
10576
10585
|
:where(navigation-split-view > [is=sidebar-view]) {
|
|
10577
10586
|
--face: light-dark(var(--liquid-glass-bg), var(--liquid-glass-bg-dark));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default { DEBUG: false };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swiftwc/ui",
|
|
3
|
-
"version": "0.0.0-dev.
|
|
3
|
+
"version": "0.0.0-dev.109",
|
|
4
4
|
"description": "Elegant SwiftUI-inspired web components for standalone web apps and web extensions.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -82,8 +82,8 @@
|
|
|
82
82
|
"prepackage": "rm -rf generated && npm run debug:off",
|
|
83
83
|
"package": "npm run build:ts && npm run build:scss ; npm run debug:reset",
|
|
84
84
|
"postpublish": "git checkout dev",
|
|
85
|
-
"debug:off": "node -e \"const fs=require('node:fs');const f='./js/internal/flags.
|
|
86
|
-
"debug:reset": "git checkout -- ./js/internal/flags.
|
|
85
|
+
"debug:off": "node -e \"const fs=require('node:fs');const f='./js/internal/flags.ts';const s=fs.readFileSync(f,'utf8');fs.writeFileSync(f,s.replace(/DEBUG:\\s*(true|false)/, 'DEBUG: false'))\"",
|
|
86
|
+
"debug:reset": "git checkout -- ./js/internal/flags.ts",
|
|
87
87
|
"version:pkg": "npm version $npm_config_bump --no-git-tag-version --preid=dev"
|
|
88
88
|
},
|
|
89
89
|
"devDependencies": {
|
package/scss/colors/_index.scss
CHANGED
|
@@ -621,7 +621,8 @@ $colors: map.merge(
|
|
|
621
621
|
// --canvastext: light-dark(var(--primary-label), var(--primary-label-dark));
|
|
622
622
|
// }
|
|
623
623
|
|
|
624
|
-
:
|
|
624
|
+
// NOTE: NO color diffs for dialogs/popups
|
|
625
|
+
/* :where([is='sheet-view'], [is='full-screen'], [is='confirmation-dialog'], [is='alert-dialog']) {
|
|
625
626
|
// modify background/secondarybg/tertiarybg etc for ELEVATED STYLES!!
|
|
626
627
|
// ANCHOR: level 1
|
|
627
628
|
--face: var(--background); // IMPORTANT: redeclare references scope or it WONT pick up!
|
|
@@ -633,7 +634,7 @@ $colors: map.merge(
|
|
|
633
634
|
// --face: light-dark(var(--secondary-bg), var(--secondary-bg-dark));
|
|
634
635
|
|
|
635
636
|
// --text: light-dark(var(--secondary-text), var(--secondary-text-dark));
|
|
636
|
-
}
|
|
637
|
+
} */
|
|
637
638
|
|
|
638
639
|
:where(navigation-split-view > [is='sidebar-view']) {
|
|
639
640
|
// --canvas: light-dark(oklch(var(--primary-bg)), var(--primary-bg-dark));
|