@actabldesign/bellhop-styles 0.0.3 → 0.0.4
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 +3 -3
- package/dist/index.css +1505 -0
- package/llms.txt +206 -0
- package/package.json +27 -23
- package/project.json +29 -0
- package/rollup.config.js +29 -0
- package/{base → src/base}/normalize.css +4 -0
- package/src/index.css +22 -0
- package/src/tokens/bellhop-animations.css +392 -0
- package/src/tokens/bellhop-global.css +175 -0
- package/src/tokens/bellhop-icons.css +77 -0
- package/src/tokens/bellhop-layout.css +216 -0
- package/src/tokens/bellhop-primary-colors.css +96 -0
- package/src/tokens/bellhop-radius.css +14 -0
- package/src/tokens/bellhop-secondary-colors.css +154 -0
- package/src/tokens/bellhop-shadows.css +55 -0
- package/src/tokens/bellhop-spacing.css +66 -0
- package/src/tokens/bellhop-styles.css +174 -0
- package/src/tokens/bellhop-typography.css +112 -0
- package/src/tokens/colors.json +737 -0
- package/src/tokens/colors.mdx +59 -0
- package/src/tokens/index.css +17 -0
- package/components/appbar.css +0 -167
- package/components/autocomplete-menu.css +0 -142
- package/components/avatar-add.css +0 -112
- package/components/avatar.css +0 -253
- package/components/badge-dot.css +0 -78
- package/components/badge.css +0 -337
- package/components/bar-chart-card.css +0 -261
- package/components/bar-chart.css +0 -149
- package/components/breadcrumbs.css +0 -136
- package/components/button.css +0 -266
- package/components/chart-tooltip.css +0 -96
- package/components/checkbox-label.css +0 -53
- package/components/checkbox.css +0 -127
- package/components/container-footer.css +0 -22
- package/components/container.css +0 -17
- package/components/date-picker-content.css +0 -337
- package/components/date-picker.css +0 -103
- package/components/date-range-picker-content.css +0 -85
- package/components/date-range-picker.css +0 -72
- package/components/dropdown-menu.css +0 -204
- package/components/dropdown.css +0 -126
- package/components/empty-state.css +0 -83
- package/components/featured-icon.css +0 -194
- package/components/illustrations.css +0 -120
- package/components/input-autocomplete.css +0 -158
- package/components/input-number.css +0 -2
- package/components/input-verification.css +0 -137
- package/components/input.css +0 -374
- package/components/loader-spinner.css +0 -421
- package/components/logo-box.css +0 -85
- package/components/month-picker-content.css +0 -190
- package/components/month-picker.css +0 -83
- package/components/nav-item.css +0 -110
- package/components/notification.css +0 -262
- package/components/page-navigation.css +0 -294
- package/components/picker-menu.css +0 -43
- package/components/pie-chart-card.css +0 -213
- package/components/pie-chart.css +0 -80
- package/components/product-switcher.css +0 -127
- package/components/property-switcher.css +0 -95
- package/components/radio-button-label.css +0 -53
- package/components/radio-button.css +0 -134
- package/components/sidebar.css +0 -178
- package/components/skeleton-loader.css +0 -47
- package/components/tag.css +0 -214
- package/components/textarea.css +0 -211
- package/components/toggle.css +0 -298
- package/components/tooltip.css +0 -85
- package/components/trend-chart-card.css +0 -189
- package/components/trend-chart.css +0 -94
- package/index.css +0 -8115
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
/* ==========================================================================
|
|
2
|
+
BELLHOPOS ANGULAR LIBRARY STYLES
|
|
3
|
+
Main entry point for all Bellhop design system styles
|
|
4
|
+
========================================================================== */
|
|
5
|
+
|
|
6
|
+
/* Import Google Fonts - Inter and Material Symbols */
|
|
7
|
+
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap');
|
|
8
|
+
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200');
|
|
9
|
+
|
|
10
|
+
/* Import all Bellhop design system styles */
|
|
11
|
+
@import url('./bellhop-primary-colors.css');
|
|
12
|
+
@import url('./bellhop-secondary-colors.css');
|
|
13
|
+
@import url('./bellhop-spacing.css');
|
|
14
|
+
@import url('./bellhop-radius.css');
|
|
15
|
+
@import url('./bellhop-shadows.css');
|
|
16
|
+
@import url('./bellhop-typography.css');
|
|
17
|
+
@import url('./bellhop-icons.css');
|
|
18
|
+
@import url('./bellhop-layout.css');
|
|
19
|
+
|
|
20
|
+
/* ==========================================================================
|
|
21
|
+
GLOBAL RESETS AND DEFAULTS
|
|
22
|
+
========================================================================== */
|
|
23
|
+
|
|
24
|
+
/* Reset the outline for all focusable elements when a mouse is used. */
|
|
25
|
+
*:focus:not(:focus-visible) {
|
|
26
|
+
outline: none;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
/* Apply a custom outline that will only appear during keyboard navigation. */
|
|
30
|
+
*:focus-visible {
|
|
31
|
+
outline: 2px solid var(--color-brand-500);
|
|
32
|
+
outline-offset: 2px;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
/* Ensure focus is visible on interactive elements */
|
|
36
|
+
button:focus-visible,
|
|
37
|
+
input:focus-visible,
|
|
38
|
+
select:focus-visible,
|
|
39
|
+
textarea:focus-visible,
|
|
40
|
+
a:focus-visible,
|
|
41
|
+
[tabindex]:focus-visible {
|
|
42
|
+
outline: 2px solid var(--color-brand-500);
|
|
43
|
+
outline-offset: 2px;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
/* ==========================================================================
|
|
47
|
+
UTILITY CLASSES
|
|
48
|
+
========================================================================== */
|
|
49
|
+
|
|
50
|
+
/* Prevent text selection */
|
|
51
|
+
.no-select {
|
|
52
|
+
user-select: none;
|
|
53
|
+
-webkit-user-select: none;
|
|
54
|
+
-moz-user-select: none;
|
|
55
|
+
-ms-user-select: none;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
/* Screen reader only content */
|
|
59
|
+
.sr-only {
|
|
60
|
+
position: absolute;
|
|
61
|
+
width: 1px;
|
|
62
|
+
height: 1px;
|
|
63
|
+
padding: 0;
|
|
64
|
+
margin: -1px;
|
|
65
|
+
overflow: hidden;
|
|
66
|
+
clip: rect(0, 0, 0, 0);
|
|
67
|
+
white-space: nowrap;
|
|
68
|
+
border: 0;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
/* ==========================================================================
|
|
72
|
+
CONTENT LAYOUT UTILITIES
|
|
73
|
+
========================================================================== */
|
|
74
|
+
|
|
75
|
+
/* Content Container - Main flex container for page navigation and content area */
|
|
76
|
+
.bellhop-content-container {
|
|
77
|
+
display: flex;
|
|
78
|
+
flex: 1;
|
|
79
|
+
overflow: hidden;
|
|
80
|
+
background-color: var(--color-white);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
/* Content Area - Scrollable main content region */
|
|
84
|
+
.bellhop-content-area {
|
|
85
|
+
flex: 1;
|
|
86
|
+
overflow-y: auto;
|
|
87
|
+
overflow-x: hidden;
|
|
88
|
+
background-color: var(--color-white);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
/* Content Wrapper - Inner content container with padding and max-width */
|
|
92
|
+
.bellhop-content-wrapper {
|
|
93
|
+
padding: var(--spacing-4xl);
|
|
94
|
+
margin: 0 auto;
|
|
95
|
+
font-family: var(--font-inter);
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
/* Content Wrapper Variants */
|
|
99
|
+
.bellhop-content-wrapper-sm {
|
|
100
|
+
padding: var(--spacing-2xl);
|
|
101
|
+
margin: 0 auto;
|
|
102
|
+
font-family: var(--font-inter);
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.bellhop-content-wrapper-lg {
|
|
106
|
+
padding: var(--spacing-5xl);
|
|
107
|
+
margin: 0 auto;
|
|
108
|
+
font-family: var(--font-inter);
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.bellhop-content-wrapper-full {
|
|
112
|
+
padding: var(--spacing-4xl);
|
|
113
|
+
max-width: none;
|
|
114
|
+
margin: 0;
|
|
115
|
+
font-family: var(--font-inter);
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
/* Content Typography - Standard content headings and text */
|
|
119
|
+
.bellhop-content-wrapper h1,
|
|
120
|
+
.bellhop-content-wrapper-sm h1,
|
|
121
|
+
.bellhop-content-wrapper-lg h1,
|
|
122
|
+
.bellhop-content-wrapper-full h1 {
|
|
123
|
+
font-size: var(--text-3xl-size);
|
|
124
|
+
font-weight: var(--weight-bold);
|
|
125
|
+
line-height: var(--text-3xl-line);
|
|
126
|
+
color: var(--color-neutral-800);
|
|
127
|
+
margin-bottom: var(--spacing-md);
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.bellhop-content-wrapper p,
|
|
131
|
+
.bellhop-content-wrapper-sm p,
|
|
132
|
+
.bellhop-content-wrapper-lg p,
|
|
133
|
+
.bellhop-content-wrapper-full p {
|
|
134
|
+
font-size: var(--text-md-size);
|
|
135
|
+
font-weight: var(--weight-regular);
|
|
136
|
+
line-height: var(--text-md-line);
|
|
137
|
+
color: var(--color-neutral-600);
|
|
138
|
+
margin-bottom: var(--spacing-2xl);
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
/* Responsive adjustments for content wrappers */
|
|
142
|
+
@media (max-width: 768px) {
|
|
143
|
+
.bellhop-content-wrapper,
|
|
144
|
+
.bellhop-content-wrapper-sm,
|
|
145
|
+
.bellhop-content-wrapper-lg,
|
|
146
|
+
.bellhop-content-wrapper-full {
|
|
147
|
+
padding: var(--spacing-xl);
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.bellhop-content-wrapper h1,
|
|
151
|
+
.bellhop-content-wrapper-sm h1,
|
|
152
|
+
.bellhop-content-wrapper-lg h1,
|
|
153
|
+
.bellhop-content-wrapper-full h1 {
|
|
154
|
+
font-size: var(--text-2xl-size);
|
|
155
|
+
line-height: var(--text-2xl-line);
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
@media (max-width: 480px) {
|
|
160
|
+
.bellhop-content-wrapper,
|
|
161
|
+
.bellhop-content-wrapper-sm,
|
|
162
|
+
.bellhop-content-wrapper-lg,
|
|
163
|
+
.bellhop-content-wrapper-full {
|
|
164
|
+
padding: var(--spacing-md);
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
.bellhop-content-wrapper h1,
|
|
168
|
+
.bellhop-content-wrapper-sm h1,
|
|
169
|
+
.bellhop-content-wrapper-lg h1,
|
|
170
|
+
.bellhop-content-wrapper-full h1 {
|
|
171
|
+
font-size: var(--text-xl-size);
|
|
172
|
+
line-height: var(--text-xl-line);
|
|
173
|
+
}
|
|
174
|
+
}
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
/* =========================
|
|
2
|
+
IMPORT FONT
|
|
3
|
+
========================= */
|
|
4
|
+
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
|
|
5
|
+
|
|
6
|
+
/* =========================
|
|
7
|
+
TYPOGRAPHY TOKENS
|
|
8
|
+
========================= */
|
|
9
|
+
:root {
|
|
10
|
+
/* Families */
|
|
11
|
+
--font-inter: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI',
|
|
12
|
+
Roboto, 'Helvetica Neue', Arial, 'Noto Sans', 'Apple Color Emoji',
|
|
13
|
+
'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
|
|
14
|
+
--font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
|
|
15
|
+
'Liberation Mono', 'Courier New', monospace;
|
|
16
|
+
|
|
17
|
+
/* Weights */
|
|
18
|
+
--weight-regular: 400;
|
|
19
|
+
--weight-medium: 500;
|
|
20
|
+
--weight-semibold: 600;
|
|
21
|
+
--weight-bold: 700;
|
|
22
|
+
|
|
23
|
+
/* Sizes (font-size) */
|
|
24
|
+
/* Display Sizes */
|
|
25
|
+
--display-xl-size: 2.625rem; /* 42px */
|
|
26
|
+
--display-lg-size: 2.5rem; /* 40px */
|
|
27
|
+
--display-md-size: 2.25rem; /* 36px */
|
|
28
|
+
--display-sm-size: 1.875rem; /* 30px */
|
|
29
|
+
--display-xs-size: 1.5rem; /* 24px */
|
|
30
|
+
/* Text Sizes */
|
|
31
|
+
--text-xl-size: 1.25rem; /* 20px */
|
|
32
|
+
--text-lg-size: 1.125rem; /* 18px */
|
|
33
|
+
--text-md-size: 1rem; /* 16px */
|
|
34
|
+
--text-sm-size: 0.875rem; /* 14px */
|
|
35
|
+
--text-xs-size: 0.75rem; /* 12px */
|
|
36
|
+
|
|
37
|
+
/* Line heights */
|
|
38
|
+
--text-xl-line: 1.875rem; /* 30px */
|
|
39
|
+
--text-lg-line: 1.75rem; /* 28px */
|
|
40
|
+
--text-md-line: 1.5rem; /* 24px */
|
|
41
|
+
--text-sm-line: 1.25rem; /* 20px */
|
|
42
|
+
--text-xs-line: 1.125rem; /* 18px */
|
|
43
|
+
|
|
44
|
+
/* Numbers (data tables) — use tabular figures */
|
|
45
|
+
--num-sm-size: var(--text-sm-size); /* 14px */
|
|
46
|
+
--num-sm-line: var(--text-sm-line); /* 20px */
|
|
47
|
+
--num-xs-size: var(--text-xs-size); /* 12px */
|
|
48
|
+
--num-xs-line: var(--text-xs-line); /* 18px */
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
/* =========================
|
|
52
|
+
BASE / WEIGHT UTILITIES
|
|
53
|
+
========================= */
|
|
54
|
+
.font-inter {
|
|
55
|
+
font-family: var(--font-inter);
|
|
56
|
+
}
|
|
57
|
+
.font-mono {
|
|
58
|
+
font-family: var(--font-mono);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.weight-regular {
|
|
62
|
+
font-weight: var(--weight-regular);
|
|
63
|
+
}
|
|
64
|
+
.weight-medium {
|
|
65
|
+
font-weight: var(--weight-medium);
|
|
66
|
+
}
|
|
67
|
+
.weight-semibold {
|
|
68
|
+
font-weight: var(--weight-semibold);
|
|
69
|
+
}
|
|
70
|
+
.weight-bold {
|
|
71
|
+
font-weight: var(--weight-bold);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
/* =========================
|
|
75
|
+
SIZE UTILITIES
|
|
76
|
+
========================= */
|
|
77
|
+
.text-xl {
|
|
78
|
+
font-size: var(--text-xl-size);
|
|
79
|
+
line-height: var(--text-xl-line);
|
|
80
|
+
}
|
|
81
|
+
.text-lg {
|
|
82
|
+
font-size: var(--text-lg-size);
|
|
83
|
+
line-height: var(--text-lg-line);
|
|
84
|
+
}
|
|
85
|
+
.text-md {
|
|
86
|
+
font-size: var(--text-md-size);
|
|
87
|
+
line-height: var(--text-md-line);
|
|
88
|
+
}
|
|
89
|
+
.text-sm {
|
|
90
|
+
font-size: var(--text-sm-size);
|
|
91
|
+
line-height: var(--text-sm-line);
|
|
92
|
+
}
|
|
93
|
+
.text-xs {
|
|
94
|
+
font-size: var(--text-xs-size);
|
|
95
|
+
line-height: var(--text-xs-line);
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
/* =========================
|
|
99
|
+
NUMERIC (DATA TABLES)
|
|
100
|
+
========================= */
|
|
101
|
+
.num-sm {
|
|
102
|
+
font-size: var(--num-sm-size);
|
|
103
|
+
line-height: var(--num-sm-line);
|
|
104
|
+
font-variant-numeric: tabular-nums;
|
|
105
|
+
font-family: var(--font-inter);
|
|
106
|
+
}
|
|
107
|
+
.num-xs {
|
|
108
|
+
font-size: var(--num-xs-size);
|
|
109
|
+
line-height: var(--num-xs-line);
|
|
110
|
+
font-variant-numeric: tabular-nums;
|
|
111
|
+
font-family: var(--font-mono);
|
|
112
|
+
}
|