@featherk/styles 0.1.9 → 0.2.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/README.md +19 -9
- package/dist/v1/external-styles/featherk-map-evitiAdvisor.css +70 -0
- package/dist/v1/external-styles/featherk-overrides--k-grid.css +37 -0
- package/dist/v1/external-styles/featherk-overrides--k-slider.css +22 -0
- package/dist/v1/fonts/Inter-Bold.woff2 +0 -0
- package/dist/v1/fonts/Inter-BoldItalic.woff2 +0 -0
- package/dist/v1/fonts/Inter-Italic.woff2 +0 -0
- package/dist/v1/fonts/Inter-Light.woff2 +0 -0
- package/dist/v1/fonts/Inter-LightItalic.woff2 +0 -0
- package/dist/v1/fonts/Inter-Medium.woff2 +0 -0
- package/dist/v1/fonts/Inter-MediumItalic.woff2 +0 -0
- package/dist/v1/fonts/Inter-Regular.woff2 +0 -0
- package/package.json +1 -1
- /package/dist/{css → v0/css}/feather-k-override.css +0 -0
- /package/dist/{css → v0/css}/feather-ks.css +0 -0
- /package/dist/{fonts → v0/fonts}/Inter-Bold.woff2 +0 -0
- /package/dist/{fonts → v0/fonts}/Inter-BoldItalic.woff2 +0 -0
- /package/dist/{fonts → v0/fonts}/Inter-Italic.woff2 +0 -0
- /package/dist/{fonts → v0/fonts}/Inter-Light.woff2 +0 -0
- /package/dist/{fonts → v0/fonts}/Inter-LightItalic.woff2 +0 -0
- /package/dist/{fonts → v0/fonts}/Inter-Medium.woff2 +0 -0
- /package/dist/{fonts → v0/fonts}/Inter-MediumItalic.woff2 +0 -0
- /package/dist/{fonts → v0/fonts}/Inter-Regular.woff2 +0 -0
- /package/dist/{css → v1/css}/featherk-q3-2024-v1.css +0 -0
package/README.md
CHANGED
|
@@ -26,7 +26,7 @@ import './style.css'
|
|
|
26
26
|
import App from './App.vue'
|
|
27
27
|
|
|
28
28
|
// FeatherK custom styles with Inter font family
|
|
29
|
-
import "@featherk/styles/dist/css/featherk-q3-2024-v1.css"
|
|
29
|
+
import "@featherk/styles/dist/v1/css/featherk-q3-2024-v1.css"
|
|
30
30
|
|
|
31
31
|
createApp(App).mount('#app')
|
|
32
32
|
```
|
|
@@ -50,16 +50,26 @@ The FeatherK styles include the Inter font family with automatic font loading. T
|
|
|
50
50
|
```text
|
|
51
51
|
node_modules/@featherk/styles/
|
|
52
52
|
├── dist/
|
|
53
|
-
│ ├──
|
|
54
|
-
│ │
|
|
55
|
-
│
|
|
56
|
-
│
|
|
57
|
-
│
|
|
58
|
-
│ ├── Inter-
|
|
59
|
-
│
|
|
53
|
+
│ ├── v0/
|
|
54
|
+
│ │ ├── css/
|
|
55
|
+
│ │ │ ├── feather-ks.css
|
|
56
|
+
│ │ │ └── feather-k override.css
|
|
57
|
+
│ │ └── fonts/
|
|
58
|
+
│ │ ├── Inter-Regular.woff2
|
|
59
|
+
│ │ ├── Inter-Bold.woff2
|
|
60
|
+
│ │ ├── Inter-Light.woff2
|
|
61
|
+
│ │ └── [other Inter variants]
|
|
62
|
+
│ ├── v1/
|
|
63
|
+
│ │ ├── css/
|
|
64
|
+
│ │ │ └── featherk-q3-2024-v1.css
|
|
65
|
+
│ │ └── fonts/
|
|
66
|
+
│ │ ├── Inter-Regular.woff2
|
|
67
|
+
│ │ ├── Inter-Bold.woff2
|
|
68
|
+
│ │ ├── Inter-Light.woff2
|
|
69
|
+
│ │ └── [other Inter variants]
|
|
60
70
|
```
|
|
61
71
|
|
|
62
|
-
2. **Relative Path Resolution**: The CSS uses `../fonts/` paths that correctly resolve from `/dist/css/` to `/dist/fonts/`
|
|
72
|
+
2. **Relative Path Resolution**: The CSS uses `../fonts/` paths that correctly resolve from `/dist/v1/css/` to `/dist/v1/fonts/`
|
|
63
73
|
|
|
64
74
|
3. **Vite Processing**:
|
|
65
75
|
- **Development**: Vite serves fonts directly from `node_modules` with correct path resolution
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
/* ——— Border radii ——— */
|
|
3
|
+
--border-radius-sm: var(--kendo-border-radius-md);
|
|
4
|
+
--border-radius-md: var(--kendo-border-radius-xl);
|
|
5
|
+
--border-radius-lg: var(--kendo-border-radius-xxxl);
|
|
6
|
+
|
|
7
|
+
/* ——— Box shadows / elevation ——— */
|
|
8
|
+
--box-shadow-sm: var(--kendo-elevation-2);
|
|
9
|
+
/* --feather-elevation-02dp:
|
|
10
|
+
box-shadow(0px 3px -2px 1px rgba(10,11,28,0.2)),
|
|
11
|
+
box-shadow(0px 2px 0px 2px rgba(10,11,28,0.14)),
|
|
12
|
+
box-shadow(0px 1px 0px 5px rgba(10,11,28,0.12)); */
|
|
13
|
+
--box-shadow-md: var(--kendo-elevation-3);
|
|
14
|
+
--box-shadow-lg: var(--kendo-elevation-4);
|
|
15
|
+
|
|
16
|
+
/* ——— Font sizes ——— */
|
|
17
|
+
/* sm≈0.8rem, md=1rem, lg=1.25rem, xl=1.5rem */
|
|
18
|
+
--font-size-sm: var(--kendo-font-size-md);
|
|
19
|
+
/* --feather-font-size-md: 0.875rem */
|
|
20
|
+
--font-size-md: var(--kendo-font-size-lg);
|
|
21
|
+
/* --feather-font-size-lg: 1rem */
|
|
22
|
+
--font-size-lg: var(--kendo-font-size-xl);
|
|
23
|
+
/* --feather-font-size-xl: 1.25rem */
|
|
24
|
+
--font-size-xl: 1.5rem;
|
|
25
|
+
/* --feather-font-size-xxl: 1.5rem - no direct match from named Kendo vars */
|
|
26
|
+
|
|
27
|
+
/* ——— Font weights ——— */
|
|
28
|
+
--font-weight-normal: var(--kendo-font-weight-normal);
|
|
29
|
+
/* 500 - same value as feather variable, no need to alias */
|
|
30
|
+
--font-weight-bold: var(--kendo-font-weight-bold);
|
|
31
|
+
/* 700 - same value as feather variable, no need to alias */
|
|
32
|
+
|
|
33
|
+
/* ——— Colors ——— */
|
|
34
|
+
--color-white: var(--kendo-color-app-surface);
|
|
35
|
+
/* --feather-surface: #FFFFFF; */
|
|
36
|
+
--color-primary: var(--kendo-color-primary);
|
|
37
|
+
/* --feather-primary: #195bb5; */
|
|
38
|
+
--color-light-primary: var(--kendo-color-primary-emphasis);
|
|
39
|
+
/* --feather-primary-variant: #003585; */
|
|
40
|
+
--color-light-gray: var(--kendo-color-light);
|
|
41
|
+
/* --feather-shade-1; */
|
|
42
|
+
--color-medium-gray: var(--kendo-color-light-emphasis);
|
|
43
|
+
/* --feather-shade-2; */
|
|
44
|
+
--color-dark-gray: var(--kendo-color-dark-emphasis);
|
|
45
|
+
/* --feather-shade-3 */
|
|
46
|
+
--color-darker-gray: var(--kendo-color-dark);
|
|
47
|
+
/* --feather-shade-4 */
|
|
48
|
+
|
|
49
|
+
/* ——— Spacing (margins & padding) ——— */
|
|
50
|
+
--spacing-xs: var(--kendo-spacing-1);
|
|
51
|
+
/* --feather-spacing-min: 0.25rem; */
|
|
52
|
+
--spacing-sm: var(--kendo-spacing-2);
|
|
53
|
+
/* --feather-spacing-xs: 0.5rem; */
|
|
54
|
+
--spacing-md: var(--kendo-spacing-4);
|
|
55
|
+
/* --feather-spacing-md: 1rem: */
|
|
56
|
+
--spacing-lg: var(--kendo-spacing-6);
|
|
57
|
+
/* --feather-spacing-lg: 1.5rem */
|
|
58
|
+
--spacing-xl: var(--kendo-spacing-8);
|
|
59
|
+
/* --feather-spacing-xl: 2rem */
|
|
60
|
+
--spacing-2xl: var(--kendo-spacing-12);
|
|
61
|
+
/* --feather-spacing-max: 3rem */
|
|
62
|
+
|
|
63
|
+
/* ——— Breakpoints (not provided by Themebuilder) ——— */
|
|
64
|
+
--breakpoint-sm: 320px;
|
|
65
|
+
/* --feather-bp-min: 320px */
|
|
66
|
+
--breakpoint-md: 600px;
|
|
67
|
+
/* --feather-bp-tablet: 600px; */
|
|
68
|
+
--breakpoint-lg: 1440px;
|
|
69
|
+
/* --feather-bp-desktop: 1440px; */
|
|
70
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/* NOTES:
|
|
2
|
+
This override forces the Kendo UI grid to replace the "overflow" icon with a "filter" icon to properly communicate the filtered or unfiltered state when active. The icon is "built in" to the content as SVG code, so it doesn't depend on external assets. The icon is animated based on the user interaction with the Kendo UI grid header.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
.k-grid .k-header .k-grid-header-menu.k-grid-column-menu {
|
|
6
|
+
background-color: transparent;
|
|
7
|
+
color: transparent;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.k-grid .k-header .k-grid-header-menu.k-grid-column-menu:hover {
|
|
11
|
+
background-color: #e9ecf7;
|
|
12
|
+
color: transparent;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
/* .fk-grid overrides */
|
|
16
|
+
.fk-grid .k-table-th.active .k-link::after {
|
|
17
|
+
content: url('data:image/svg+xml;utf8,<svg id="b" data-name="Layer 2" xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><g id="c" data-name="Icons"><g><path d="M18.25,3.99l-5.58,6.39v6.29c0,.55-.45,1-1,1h-3.34c-.55,0-1-.45-1-1v-6.29L1.75,3.99c-.26-.29-.32-.71-.16-1.07.16-.36.52-.59.91-.59h15c.39,0,.75.23.91.59.16.36.1.78-.16,1.07Z" fill="rgb(0, 53 ,131)"/><rect width="20" height="20" fill="none"/></g></g></svg>');
|
|
18
|
+
position: sticky;
|
|
19
|
+
transform: translate(-0.875rem, 0.125rem);
|
|
20
|
+
scale: 0.625;
|
|
21
|
+
}
|
|
22
|
+
.fk-grid .k-table-th:not(.k-sorted) .k-cell-inner .k-link::after {
|
|
23
|
+
transform: translate(0, 0.125rem);
|
|
24
|
+
}
|
|
25
|
+
.fk-grid .k-table-th .k-link {
|
|
26
|
+
pointer-events: none;
|
|
27
|
+
}
|
|
28
|
+
.fk-grid .k-grid-header-menu.k-grid-column-menu {
|
|
29
|
+
position: absolute;
|
|
30
|
+
top: 0;
|
|
31
|
+
right: 0;
|
|
32
|
+
width: 100%;
|
|
33
|
+
opacity: 0;
|
|
34
|
+
pointer-events: none;
|
|
35
|
+
z-index: -1;
|
|
36
|
+
overflow: hidden;
|
|
37
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/* This rule eliminates the visual ticks by removing the background image parameter from the ticks. This preserves the numbers, while removing the veritcal geometry. */
|
|
2
|
+
|
|
3
|
+
.k-slider .k-tick {
|
|
4
|
+
background-image: none;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
/* Kendo only provides access to styling for the second drag handle for a two-handle slider. This rule replicates the CSS styling across both drag handles when hovered and focused. This fragment also provides the necessary transition attributes to ensure smooth, matching transitions across all drag handles. */
|
|
8
|
+
|
|
9
|
+
.k-slider .k-draghandle {
|
|
10
|
+
transition: border-style 280ms ease-out, box-shadow 280ms ease-out;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.k-slider .k-draghandle.k-draghandle-end:hover,
|
|
14
|
+
.k-slider .k-draghandle.k-draghandle-start:hover {
|
|
15
|
+
border-style: none;
|
|
16
|
+
box-shadow: 0px 0px 0px 2px var(--kendo-color-primary);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.k-slider .k-draghandle.k-draghandle-end:focus,
|
|
20
|
+
.k-slider .k-draghandle.k-draghandle-start:focus {
|
|
21
|
+
box-shadow: 0 0px 0px 2px var(--kendo-color-on-primary), 0px 0px 0px 5px var(--kendo-color-primary)
|
|
22
|
+
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|