carriera-intern-components 1.1.14 → 1.1.151
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/app/components/avatar/avatar.component.d.ts +1 -1
- package/app/components/input/input.component.d.ts +11 -1
- package/app/components/input/models/dropdown.model.d.ts +21 -0
- package/app/components/input/models/input.model.d.ts +5 -5
- package/fesm2022/carriera-intern-components.mjs +85 -2
- package/fesm2022/carriera-intern-components.mjs.map +1 -1
- package/package.json +1 -1
- package/public/assets/icons/cai-color.svg +3 -0
- package/public/assets/icons/makes/trailers/ic_trailer_atro.svg +6 -0
- package/public/assets/icons/makes/trailers/ic_trailer_beall.svg +7 -0
- package/public/assets/icons/makes/trailers/ic_trailer_bedard.svg +8 -0
- package/public/assets/icons/makes/trailers/ic_trailer_butler.svg +7 -0
- package/public/assets/icons/makes/trailers/ic_trailer_de_lucio.svg +17 -0
- package/public/assets/icons/makes/trailers/ic_trailer_dorsey.svg +3 -0
- package/public/assets/icons/makes/trailers/ic_trailer_east.svg +3 -0
- package/public/assets/icons/makes/trailers/ic_trailer_fontaine.svg +3 -0
- package/public/assets/icons/makes/trailers/ic_trailer_fruehauf.svg +3 -0
- package/public/assets/icons/makes/trailers/ic_trailer_gallegos.svg +3 -0
- package/public/assets/icons/makes/trailers/ic_trailer_great_dane.svg +3 -0
- package/public/assets/icons/makes/trailers/ic_trailer_heil.svg +6 -0
- package/public/assets/icons/makes/trailers/ic_trailer_hudson.svg +3 -0
- package/public/assets/icons/makes/trailers/ic_trailer_hyndai.svg +3 -0
- package/public/assets/icons/makes/trailers/ic_trailer_kaufman.svg +3 -0
- package/public/assets/icons/makes/trailers/ic_trailer_mac.svg +3 -0
- package/public/assets/icons/makes/trailers/ic_trailer_manac.svg +3 -0
- package/public/assets/icons/makes/trailers/ic_trailer_polar.svg +3 -0
- package/public/assets/icons/makes/trailers/ic_trailer_ravens.svg +3 -0
- package/public/assets/icons/makes/trailers/ic_trailer_reitnouer.svg +12 -0
- package/public/assets/icons/makes/trailers/ic_trailer_strick.svg +3 -0
- package/public/assets/icons/makes/trailers/ic_trailer_timpte.svg +8 -0
- package/public/assets/icons/makes/trailers/ic_trailer_trail_king.svg +7 -0
- package/public/assets/icons/makes/trailers/ic_trailer_transcraft.svg +12 -0
- package/public/assets/icons/makes/trailers/ic_trailer_tremcar.svg +10 -0
- package/public/assets/icons/makes/trailers/ic_trailer_tytal.svg +3 -0
- package/public/assets/icons/makes/trailers/ic_trailer_utility.svg +3 -0
- package/public/assets/icons/makes/trailers/ic_trailer_vanguard.svg +3 -0
- package/public/assets/icons/makes/trailers/ic_trailer_vantage.svg +3 -0
- package/public/assets/icons/makes/trailers/ic_trailer_wabash.svg +3 -0
- package/public/assets/icons/makes/trailers/ic_trailer_walinga.svg +8 -0
- package/public/assets/icons/makes/trailers/ic_trailer_wilson.svg +3 -0
- package/public/assets/icons/makes/trucks/ic_truck_chevrolet.svg +3 -0
- package/public/assets/icons/makes/trucks/ic_truck_ford.svg +3 -0
- package/public/assets/icons/makes/trucks/ic_truck_freightliner.svg +3 -0
- package/public/assets/icons/makes/trucks/ic_truck_gmc.svg +3 -0
- package/public/assets/icons/makes/trucks/ic_truck_hino.svg +3 -0
- package/public/assets/icons/makes/trucks/ic_truck_international.svg +3 -0
- package/public/assets/icons/makes/trucks/ic_truck_isuzu.svg +3 -0
- package/public/assets/icons/makes/trucks/ic_truck_kenworth.svg +3 -0
- package/public/assets/icons/makes/trucks/ic_truck_mack.svg +3 -0
- package/public/assets/icons/makes/trucks/ic_truck_peterbilt.svg +3 -0
- package/public/assets/icons/makes/trucks/ic_truck_volvo.svg +3 -0
- package/public/assets/icons/makes/trucks/ic_truck_western_star.svg +3 -0
- package/public/assets/json/icons.json +180 -0
- package/src/styles/README.md +57 -0
- package/src/styles/_variables.scss +57 -0
- package/src/styles/custompickers.scss +816 -0
- package/src/styles/review_variables.scss +40 -0
- package/src/styles.scss +91 -0
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
# Global Styles
|
|
2
|
+
|
|
3
|
+
This directory contains all global styles and variables for the Carriera Intern Components library.
|
|
4
|
+
|
|
5
|
+
## Structure
|
|
6
|
+
|
|
7
|
+
```
|
|
8
|
+
styles/
|
|
9
|
+
├── index.scss # Main entry point - imports all styles
|
|
10
|
+
├── _variables.scss # Global color and design variables
|
|
11
|
+
├── review_variables.scss # Review-specific variables
|
|
12
|
+
└── README.md # This file
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Usage
|
|
16
|
+
|
|
17
|
+
### For Library Consumers
|
|
18
|
+
|
|
19
|
+
The global styles are automatically included when you import the library. The styles are bundled with the library and available through the `styleIncludePaths` configuration.
|
|
20
|
+
|
|
21
|
+
### For Component Development
|
|
22
|
+
|
|
23
|
+
When creating new components, you can import the global variables:
|
|
24
|
+
|
|
25
|
+
```scss
|
|
26
|
+
@import '../../../styles/variables';
|
|
27
|
+
@import '../../../styles/review_variables';
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
Or use the main index file:
|
|
31
|
+
|
|
32
|
+
```scss
|
|
33
|
+
@import '../../../styles/index';
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
## Variables
|
|
37
|
+
|
|
38
|
+
### Color Variables
|
|
39
|
+
|
|
40
|
+
All color variables follow the naming convention:
|
|
41
|
+
- `$color-text-base-*` - Text colors
|
|
42
|
+
- `$color-icon-base-*` - Icon colors
|
|
43
|
+
- `$color-surface-input-*` - Input surface colors
|
|
44
|
+
- `$color-inverse-*` - Dark theme colors
|
|
45
|
+
|
|
46
|
+
### Adding New Variables
|
|
47
|
+
|
|
48
|
+
1. Add new variables to the appropriate `_variables.scss` file
|
|
49
|
+
2. Import them in `index.scss` if they should be globally available
|
|
50
|
+
3. Update this README with documentation
|
|
51
|
+
|
|
52
|
+
## Build Configuration
|
|
53
|
+
|
|
54
|
+
The styles are configured in:
|
|
55
|
+
- `angular.json` - Storybook and build configurations
|
|
56
|
+
- `ng-package.json` - Library build includes
|
|
57
|
+
- `public-api.ts` - Exports for TypeScript access
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
$color-text-base-negative: #df3c3c;
|
|
2
|
+
$color-text-base-heading: #424242;
|
|
3
|
+
$color-text-base-content: #2f2f2f;
|
|
4
|
+
$color-text-base-content-subtle: #919191;
|
|
5
|
+
$color-text-base-inverse: #ffffff;
|
|
6
|
+
|
|
7
|
+
$color-icon-base-neutral: #919191;
|
|
8
|
+
$color-icon-base-negative: #e66767;
|
|
9
|
+
$color-icon-base-positive: #6692f1;
|
|
10
|
+
$color-icon-base-inverse: #ffffffb2;
|
|
11
|
+
$color-icon-base-disable: #cccccc;
|
|
12
|
+
|
|
13
|
+
$color-surface-input-neutral: #eeeeee;
|
|
14
|
+
$color-surface-input-neutral-hover: #dadada;
|
|
15
|
+
$color-surface-input-neutral-focus: #1d1d1d;
|
|
16
|
+
|
|
17
|
+
$color-surface-input-positive: #e9effd;
|
|
18
|
+
$color-surface-input-positive-hover: #bed0f9;
|
|
19
|
+
$color-surface-input-positive-focus: #0b49d1;
|
|
20
|
+
|
|
21
|
+
$color-surface-input-negative: #fbe9e9;
|
|
22
|
+
$color-surface-input-negative-hover: #f4bebe;
|
|
23
|
+
$color-surface-input-negative-focus: #c20c0c;
|
|
24
|
+
|
|
25
|
+
$color-surface-input-disable: #f7f7f7;
|
|
26
|
+
|
|
27
|
+
$color-inverse-text-base-negative: #ed9292;
|
|
28
|
+
$color-inverse-icon-base-neutral: #aaaaaa;
|
|
29
|
+
$color-inverse-icon-base-negative: #ed9292;
|
|
30
|
+
$color-inverse-icon-base-positive: #92b1f5;
|
|
31
|
+
$color-inverse-icon-base-disable: #6c6c6c;
|
|
32
|
+
$color-inverse-surface-input-neutral: #424242;
|
|
33
|
+
$color-inverse-surface-input-neutral-hover: #6c6c6c;
|
|
34
|
+
$color-inverse-surface-input-neutral-focus: #dadada;
|
|
35
|
+
$color-inverse-surface-input-positive-no-percent: #3b73ed;
|
|
36
|
+
$color-inverse-surface-input-positive: #3b73ed33;
|
|
37
|
+
$color-inverse-surface-input-positive-hover: #2f519a;
|
|
38
|
+
$color-inverse-surface-input-negative: #df3c3c33;
|
|
39
|
+
$color-inverse-surface-input-negative-hover: #923030;
|
|
40
|
+
$color-inverse-surface-input-disable: #42424266;
|
|
41
|
+
|
|
42
|
+
$color-pdf: #e66767;
|
|
43
|
+
$color-image: #fab15c;
|
|
44
|
+
$color-video: #b370f0;
|
|
45
|
+
|
|
46
|
+
$color-pdf-opacity: #df3c3c66;
|
|
47
|
+
$color-image-opacity: #f89b2e66;
|
|
48
|
+
$color-video-opacity: #9e47ec66;
|
|
49
|
+
|
|
50
|
+
$color-light-gray: #f9f9f9;
|
|
51
|
+
|
|
52
|
+
// Font weights
|
|
53
|
+
$font-regular: 400;
|
|
54
|
+
$font-medium: 500;
|
|
55
|
+
$font-semibold: 600;
|
|
56
|
+
$font-bold: 700;
|
|
57
|
+
$font-extrabold: 800;
|