@wpmoo/ui 1.0.0-rc.2 → 1.0.0-rc.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ASSET_LICENSE.md +1 -1
- package/README.md +23 -8
- package/THIRD_PARTY_NOTICES.md +53 -0
- package/certification.json +8 -3
- package/dist/assets/css/moo-ui.css +8208 -7623
- package/dist/assets/css/moo-ui.min.css +3 -3
- package/dist/assets/css/moo.css +549 -59
- package/dist/assets/css/moo.min.css +3 -3
- package/dist/js/chart.js +15258 -0
- package/dist/js/chart.min.js +27 -0
- package/dist/js/combobox.js +28 -23
- package/dist/js/context-menu.js +5 -0
- package/dist/js/datatable.js +5 -0
- package/dist/js/datepicker.js +1154 -0
- package/dist/js/datepicker.min.js +6 -0
- package/dist/js/sidebar.js +67 -25
- package/dist/js/slider.js +324 -0
- package/package.json +17 -5
- package/scss/_config.scss +24 -0
- package/scss/_facade-settings.scss +0 -51
- package/scss/settings/_facade_public.scss +0 -23
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
// Moo UI public Sass config
|
|
2
|
+
//
|
|
3
|
+
// Import this before Bootstrap variables so overrides take precedence.
|
|
4
|
+
//
|
|
5
|
+
// Only the variables below are public. Derived $moo-* tokens and component
|
|
6
|
+
// knobs are internal and may change without notice.
|
|
7
|
+
|
|
8
|
+
$primary: #171717 !default; // Brand color
|
|
9
|
+
$secondary: #f4f4f5 !default; // Secondary surface color
|
|
10
|
+
$success: #047857 !default; // Success color
|
|
11
|
+
$info: #0369a1 !default; // Informational color
|
|
12
|
+
$warning: #b45309 !default; // Warning color
|
|
13
|
+
$danger: #e7000b !default; // Destructive color
|
|
14
|
+
$light: #fafafa !default; // Light surface color
|
|
15
|
+
$dark: #18181b !default; // Dark surface color
|
|
16
|
+
|
|
17
|
+
$body-color: #18181b !default; // Document text color
|
|
18
|
+
$body-bg: #fff !default; // Document background color
|
|
19
|
+
$font-size-base: 0.875rem !default; // Bootstrap-compatible base font size
|
|
20
|
+
|
|
21
|
+
$border-color: #e4e4e7 !default; // Default border color
|
|
22
|
+
$border-radius: 0.5rem !default; // Default radius
|
|
23
|
+
$border-radius-sm: 0.375rem !default; // Small radius
|
|
24
|
+
$border-radius-lg: 0.625rem !default; // Large radius
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
// Moo UI — Public Sass Facade: Settings
|
|
2
|
-
//
|
|
3
|
-
// This is the consumer-facing subset of Moo UI's Sass variables.
|
|
4
|
-
// Import this file BEFORE Bootstrap's _variables.scss so your overrides
|
|
5
|
-
// take precedence over Bootstrap's own !default values.
|
|
6
|
-
//
|
|
7
|
-
// Usage (relative-path, Bootstrap Option B pattern):
|
|
8
|
-
// @import "../node_modules/bootstrap/scss/functions";
|
|
9
|
-
// @import "../node_modules/@wpmoo/ui/scss/facade-settings";
|
|
10
|
-
// $primary: #your-brand-color;
|
|
11
|
-
// @import "../node_modules/bootstrap/scss/variables";
|
|
12
|
-
// ...
|
|
13
|
-
//
|
|
14
|
-
// Usage (include_paths-based, bundler-configured):
|
|
15
|
-
// @import "bootstrap/scss/functions";
|
|
16
|
-
// @import "@wpmoo/ui/scss/facade-settings";
|
|
17
|
-
// $primary: #your-brand-color;
|
|
18
|
-
// @import "bootstrap/scss/variables";
|
|
19
|
-
// ...
|
|
20
|
-
//
|
|
21
|
-
// Public variable allow-list (0.9.0):
|
|
22
|
-
//
|
|
23
|
-
// Brand colors — any valid Sass color value:
|
|
24
|
-
// $primary Default: #171717
|
|
25
|
-
// $secondary Default: #f4f4f5
|
|
26
|
-
// $success Default: #047857
|
|
27
|
-
// $info Default: #0369a1
|
|
28
|
-
// $warning Default: #b45309
|
|
29
|
-
// $danger Default: #e7000b
|
|
30
|
-
// $light Default: #fafafa
|
|
31
|
-
// $dark Default: #18181b
|
|
32
|
-
//
|
|
33
|
-
// Body — any valid Sass color value:
|
|
34
|
-
// $body-color Default: #18181b
|
|
35
|
-
// $body-bg Default: #fff
|
|
36
|
-
//
|
|
37
|
-
// Borders — any valid Sass color (border-color) or CSS <length> (radius):
|
|
38
|
-
// $border-color Default: #e4e4e7
|
|
39
|
-
// $border-radius Default: 0.5rem
|
|
40
|
-
// $border-radius-sm Default: 0.375rem
|
|
41
|
-
// $border-radius-lg Default: 0.625rem
|
|
42
|
-
//
|
|
43
|
-
// Typography — rem/em/unitless ratio (same constraint as Bootstrap's
|
|
44
|
-
// $font-size-base; see vendor/bootstrap/scss/_variables.scss):
|
|
45
|
-
// $font-size-base Default: 0.875rem
|
|
46
|
-
//
|
|
47
|
-
// Derived tokens ($moo-*) are computed from the above and are not part of
|
|
48
|
-
// the public facade. Component-level knobs ($moo-*-dark, $moo-sidebar,
|
|
49
|
-
// etc.) are internal and may change without notice.
|
|
50
|
-
|
|
51
|
-
@import "settings/facade_public";
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
// Public Sass facade allow-list — the only variables a facade consumer can
|
|
2
|
-
// override. This file is the source of truth for the public Sass surface.
|
|
3
|
-
// _palette.scss imports this first, then declares its own internal additions.
|
|
4
|
-
// Do NOT add variables here without updating the freeze document
|
|
5
|
-
// (src/certification/api-freeze-0.9.0.json) and getting explicit approval.
|
|
6
|
-
|
|
7
|
-
$primary: #171717 !default;
|
|
8
|
-
$secondary: #f4f4f5 !default;
|
|
9
|
-
$success: #047857 !default;
|
|
10
|
-
$info: #0369a1 !default;
|
|
11
|
-
$warning: #b45309 !default;
|
|
12
|
-
$danger: #e7000b !default;
|
|
13
|
-
$light: #fafafa !default;
|
|
14
|
-
$dark: #18181b !default;
|
|
15
|
-
|
|
16
|
-
$body-color: #18181b !default;
|
|
17
|
-
$body-bg: #fff !default;
|
|
18
|
-
$font-size-base: 0.875rem !default;
|
|
19
|
-
|
|
20
|
-
$border-color: #e4e4e7 !default;
|
|
21
|
-
$border-radius: 0.5rem !default;
|
|
22
|
-
$border-radius-sm: 0.375rem !default;
|
|
23
|
-
$border-radius-lg: 0.625rem !default;
|