@egen-civitas/esm-styleguide 2.3.0 → 3.0.0
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/CHANGELOG.md +46 -0
- package/dist/_all.scss +0 -1
- package/dist/_vars.scss +4 -4
- package/dist/assistant/index.d.ts +7 -0
- package/dist/assistant/index.d.ts.map +1 -1
- package/dist/assistant/index.js +5 -0
- package/dist/assistant/live-orb.component.d.ts +6 -0
- package/dist/assistant/live-orb.component.d.ts.map +1 -1
- package/dist/assistant/live-orb.component.js +15 -3
- package/dist/assistant/robot/README.md +47 -0
- package/dist/assistant/robot/Robot.d.ts +16 -0
- package/dist/assistant/robot/Robot.d.ts.map +1 -0
- package/dist/assistant/robot/Robot.js +159 -0
- package/dist/assistant/robot/RobotStage.d.ts +31 -0
- package/dist/assistant/robot/RobotStage.d.ts.map +1 -0
- package/dist/assistant/robot/RobotStage.js +250 -0
- package/dist/assistant/robot/clips.d.ts +62 -0
- package/dist/assistant/robot/clips.d.ts.map +1 -0
- package/dist/assistant/robot/clips.js +179 -0
- package/dist/assistant/robot/controller.d.ts +133 -0
- package/dist/assistant/robot/controller.d.ts.map +1 -0
- package/dist/assistant/robot/controller.js +522 -0
- package/dist/assistant/robot/gestures.d.ts +23 -0
- package/dist/assistant/robot/gestures.d.ts.map +1 -0
- package/dist/assistant/robot/gestures.js +1301 -0
- package/dist/assistant/robot/hands.d.ts +55 -0
- package/dist/assistant/robot/hands.d.ts.map +1 -0
- package/dist/assistant/robot/hands.js +121 -0
- package/dist/assistant/robot/ik.d.ts +34 -0
- package/dist/assistant/robot/ik.d.ts.map +1 -0
- package/dist/assistant/robot/ik.js +57 -0
- package/dist/assistant/robot/index.d.ts +18 -0
- package/dist/assistant/robot/index.d.ts.map +1 -0
- package/dist/assistant/robot/index.js +9 -0
- package/dist/assistant/robot/lazy.d.ts +8 -0
- package/dist/assistant/robot/lazy.d.ts.map +1 -0
- package/dist/assistant/robot/lazy.js +33 -0
- package/dist/assistant/robot/materials.d.ts +46 -0
- package/dist/assistant/robot/materials.d.ts.map +1 -0
- package/dist/assistant/robot/materials.js +101 -0
- package/dist/assistant/robot/parts/Body.d.ts +28 -0
- package/dist/assistant/robot/parts/Body.d.ts.map +1 -0
- package/dist/assistant/robot/parts/Body.js +368 -0
- package/dist/assistant/robot/parts/Head.d.ts +11 -0
- package/dist/assistant/robot/parts/Head.d.ts.map +1 -0
- package/dist/assistant/robot/parts/Head.js +210 -0
- package/dist/assistant/robot/parts/primitives.d.ts +36 -0
- package/dist/assistant/robot/parts/primitives.d.ts.map +1 -0
- package/dist/assistant/robot/parts/primitives.js +127 -0
- package/dist/assistant/robot/skeleton.d.ts +66 -0
- package/dist/assistant/robot/skeleton.d.ts.map +1 -0
- package/dist/assistant/robot/skeleton.js +266 -0
- package/dist/cards/card-header.component.d.ts +1 -1
- package/dist/cards/card-header.component.js +1 -1
- package/dist/cards/card-header.stories.js +1 -1
- package/dist/components/_general.scss +3 -3
- package/dist/config-schema.d.ts +0 -17
- package/dist/config-schema.d.ts.map +1 -1
- package/dist/config-schema.js +0 -25
- package/dist/datepicker/datepicker.stories.js +1 -1
- package/dist/empty-card/empty-card.stories.js +2 -2
- package/dist/error-state/error-state.stories.js +2 -2
- package/dist/icons/icon-registration.d.ts.map +1 -1
- package/dist/icons/icon-registration.js +0 -30
- package/dist/icons/icons.d.ts +4 -32
- package/dist/icons/icons.d.ts.map +1 -1
- package/dist/icons/icons.js +18 -148
- package/dist/index.js +0 -2
- package/dist/internal.d.ts +0 -3
- package/dist/internal.d.ts.map +1 -1
- package/dist/internal.js +0 -3
- package/dist/notifications/actionable-notification.stories.js +5 -5
- package/dist/notifications/notification.stories.js +5 -5
- package/dist/page-header/page-header.component.d.ts +1 -1
- package/dist/page-header/page-header.component.js +1 -1
- package/dist/pagination/pagination.stories.js +2 -2
- package/dist/pictograms/pictogram-registration.d.ts.map +1 -1
- package/dist/pictograms/pictogram-registration.js +2 -36
- package/dist/pictograms/pictograms.d.ts +2 -20
- package/dist/pictograms/pictograms.d.ts.map +1 -1
- package/dist/pictograms/pictograms.js +2 -139
- package/dist/public.d.ts +0 -3
- package/dist/public.d.ts.map +1 -1
- package/dist/public.js +0 -3
- package/dist/responsive-wrapper/responsive-wrapper.stories.js +1 -1
- package/dist/snackbars/snackbar.stories.js +1 -1
- package/dist/toasts/toast.stories.js +1 -1
- package/dist/workbench/splitter.component.d.ts +14 -0
- package/dist/workbench/splitter.component.d.ts.map +1 -1
- package/dist/workbench/splitter.component.js +52 -0
- package/dist/workbench/tool-window-rail.component.d.ts.map +1 -1
- package/dist/workbench/tool-window-rail.component.js +9 -1
- package/dist/workbench/tool-window-zone.component.d.ts.map +1 -1
- package/dist/workbench/tool-window-zone.component.js +9 -1
- package/dist/workbench/workbench.module.scss +64 -1
- package/dist/workbench/workbench.store.d.ts +2 -0
- package/dist/workbench/workbench.store.d.ts.map +1 -1
- package/dist/workbench/workbench.store.js +9 -0
- package/dist/workspaces/container/workspace-container.component.d.ts +8 -8
- package/dist/workspaces/container/workspace-container.component.js +9 -9
- package/dist/workspaces2/workspace2.d.ts +3 -3
- package/dist/workspaces2/workspace2.js +3 -3
- package/mock-jest.tsx +0 -41
- package/mock.tsx +0 -41
- package/package.json +26 -23
- package/src/_vars.scss +4 -4
- package/dist/entity-banner/actions-menu/entity-banner-actions-menu.component.d.ts +0 -19
- package/dist/entity-banner/actions-menu/entity-banner-actions-menu.component.d.ts.map +0 -1
- package/dist/entity-banner/actions-menu/entity-banner-actions-menu.component.js +0 -137
- package/dist/entity-banner/actions-menu/entity-banner-actions-menu.module.scss +0 -23
- package/dist/entity-banner/contact-details/entity-banner-contact-details.component.d.ts +0 -9
- package/dist/entity-banner/contact-details/entity-banner-contact-details.component.d.ts.map +0 -1
- package/dist/entity-banner/contact-details/entity-banner-contact-details.component.js +0 -207
- package/dist/entity-banner/contact-details/entity-banner-contact-details.module.scss +0 -47
- package/dist/entity-banner/contact-details/entity-banner-toggle-contact-details-button.component.d.ts +0 -12
- package/dist/entity-banner/contact-details/entity-banner-toggle-contact-details-button.component.d.ts.map +0 -1
- package/dist/entity-banner/contact-details/entity-banner-toggle-contact-details-button.component.js +0 -15
- package/dist/entity-banner/contact-details/types.d.ts +0 -48
- package/dist/entity-banner/contact-details/types.d.ts.map +0 -1
- package/dist/entity-banner/contact-details/types.js +0 -1
- package/dist/entity-banner/contact-details/useEntityAttributes.d.ts +0 -14
- package/dist/entity-banner/contact-details/useEntityAttributes.d.ts.map +0 -1
- package/dist/entity-banner/contact-details/useEntityAttributes.js +0 -12
- package/dist/entity-banner/contact-details/useEntityGroupsForEntity.d.ts +0 -11
- package/dist/entity-banner/contact-details/useEntityGroupsForEntity.d.ts.map +0 -1
- package/dist/entity-banner/contact-details/useEntityGroupsForEntity.js +0 -9
- package/dist/entity-banner/contact-details/useRelationships.d.ts +0 -35
- package/dist/entity-banner/contact-details/useRelationships.d.ts.map +0 -1
- package/dist/entity-banner/contact-details/useRelationships.js +0 -37
- package/dist/entity-banner/entity-info/entity-banner-entity-identifiers.component.d.ts +0 -9
- package/dist/entity-banner/entity-info/entity-banner-entity-identifiers.component.d.ts.map +0 -1
- package/dist/entity-banner/entity-info/entity-banner-entity-identifiers.component.js +0 -77
- package/dist/entity-banner/entity-info/entity-banner-entity-info.component.d.ts +0 -9
- package/dist/entity-banner/entity-info/entity-banner-entity-info.component.d.ts.map +0 -1
- package/dist/entity-banner/entity-info/entity-banner-entity-info.component.js +0 -72
- package/dist/entity-banner/entity-info/entity-banner-entity-info.module.scss +0 -165
- package/dist/entity-banner/index.d.ts +0 -5
- package/dist/entity-banner/index.d.ts.map +0 -1
- package/dist/entity-banner/index.js +0 -4
- package/dist/entity-photo/entity-photo.component.d.ts +0 -21
- package/dist/entity-photo/entity-photo.component.d.ts.map +0 -1
- package/dist/entity-photo/entity-photo.component.js +0 -111
- package/dist/entity-photo/entity-photo.module.scss +0 -21
- package/dist/entity-photo/index.d.ts +0 -3
- package/dist/entity-photo/index.d.ts.map +0 -1
- package/dist/entity-photo/index.js +0 -2
- package/dist/entity-photo/placeholder-icon.component.d.ts +0 -9
- package/dist/entity-photo/placeholder-icon.component.d.ts.map +0 -1
- package/dist/entity-photo/placeholder-icon.component.js +0 -26
- package/dist/entity-photo/useEntityPhoto.d.ts +0 -29
- package/dist/entity-photo/useEntityPhoto.d.ts.map +0 -1
- package/dist/entity-photo/useEntityPhoto.js +0 -37
- package/dist/icons/svgs/baby.svg +0 -1
- package/dist/icons/svgs/chemistry.svg +0 -1
- package/dist/icons/svgs/drug-order.svg +0 -1
- package/dist/icons/svgs/generic-order-type.svg +0 -1
- package/dist/icons/svgs/hospital-bed.svg +0 -1
- package/dist/icons/svgs/image-medical.svg +0 -1
- package/dist/icons/svgs/lab-order.svg +0 -1
- package/dist/icons/svgs/material-order.svg +0 -1
- package/dist/icons/svgs/medication.svg +0 -1
- package/dist/icons/svgs/microscope.svg +0 -1
- package/dist/icons/svgs/mother.svg +0 -1
- package/dist/icons/svgs/procedure-order.svg +0 -1
- package/dist/icons/svgs/referral-order.svg +0 -1
- package/dist/icons/svgs/syringe.svg +0 -1
- package/dist/logo/_logo.scss +0 -34
- package/dist/logo/egen-logo-full.svg +0 -1
- package/dist/logo/egen-logo-icon.svg +0 -1
- package/dist/logo/egen-logo-partial.svg +0 -1
- package/dist/logo/egen-logo-white.svg +0 -1
- package/dist/logo/index.d.ts +0 -8
- package/dist/logo/index.d.ts.map +0 -1
- package/dist/logo/index.js +0 -22
- package/dist/numeric-datapoint/index.d.ts +0 -4
- package/dist/numeric-datapoint/index.d.ts.map +0 -1
- package/dist/numeric-datapoint/index.js +0 -3
- package/dist/numeric-datapoint/interpretation-utils.d.ts +0 -27
- package/dist/numeric-datapoint/interpretation-utils.d.ts.map +0 -1
- package/dist/numeric-datapoint/interpretation-utils.js +0 -66
- package/dist/numeric-datapoint/numeric-datapoint.component.d.ts +0 -44
- package/dist/numeric-datapoint/numeric-datapoint.component.d.ts.map +0 -1
- package/dist/numeric-datapoint/numeric-datapoint.component.js +0 -110
- package/dist/numeric-datapoint/numeric-datapoint.module.scss +0 -141
- package/dist/numeric-datapoint/use-concept-reference-range.d.ts +0 -13
- package/dist/numeric-datapoint/use-concept-reference-range.d.ts.map +0 -1
- package/dist/numeric-datapoint/use-concept-reference-range.js +0 -31
- package/dist/pictograms/svgs/blood-bank.svg +0 -1
- package/dist/pictograms/svgs/cardiology.svg +0 -1
- package/dist/pictograms/svgs/ct-scan.svg +0 -1
- package/dist/pictograms/svgs/dentistry.svg +0 -1
- package/dist/pictograms/svgs/emergency-department.svg +0 -1
- package/dist/pictograms/svgs/geriatrics.svg +0 -1
- package/dist/pictograms/svgs/gynaecology.svg +0 -1
- package/dist/pictograms/svgs/in-patient.svg +0 -1
- package/dist/pictograms/svgs/labs-2.svg +0 -1
- package/dist/pictograms/svgs/labs.svg +0 -1
- package/dist/pictograms/svgs/obstetrics.svg +0 -1
- package/dist/pictograms/svgs/patient-search.svg +0 -1
- package/dist/pictograms/svgs/patients.svg +0 -1
- package/dist/pictograms/svgs/pharmacy-1.svg +0 -1
- package/dist/pictograms/svgs/pharmacy-2.svg +0 -1
- package/dist/pictograms/svgs/triage.svg +0 -1
- package/dist/pictograms/svgs/x-ray.svg +0 -1
|
@@ -1,165 +0,0 @@
|
|
|
1
|
-
@use '@carbon/colors';
|
|
2
|
-
@use '@carbon/layout';
|
|
3
|
-
@use '@carbon/type';
|
|
4
|
-
@use '../../vars' as *;
|
|
5
|
-
|
|
6
|
-
.container {
|
|
7
|
-
border-top: 1px solid $ui-03;
|
|
8
|
-
border-bottom: 1px solid $ui-03;
|
|
9
|
-
background-color: $ui-01;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.activePatientContainer {
|
|
13
|
-
background-color: $ui-01;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.patientBanner {
|
|
17
|
-
display: flex;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.patientName {
|
|
21
|
-
@include type.type-style('heading-03');
|
|
22
|
-
color: colors.$gray-100;
|
|
23
|
-
font-weight: 600;
|
|
24
|
-
margin-right: layout.$spacing-02;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.patientAvatar {
|
|
28
|
-
width: 3.5rem;
|
|
29
|
-
height: 3.5rem;
|
|
30
|
-
margin: layout.$spacing-05;
|
|
31
|
-
border-radius: 1px;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.patientAvatarButton {
|
|
35
|
-
cursor: pointer;
|
|
36
|
-
border: none;
|
|
37
|
-
padding: 0;
|
|
38
|
-
background: none;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.patientInfo {
|
|
42
|
-
display: flex;
|
|
43
|
-
flex-direction: column;
|
|
44
|
-
padding: layout.$spacing-05 layout.$spacing-03 layout.$spacing-05 0;
|
|
45
|
-
width: 100%;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.demographics {
|
|
49
|
-
@include type.type-style('body-compact-02');
|
|
50
|
-
color: $text-02;
|
|
51
|
-
display: flex;
|
|
52
|
-
align-items: center;
|
|
53
|
-
gap: layout.$spacing-02;
|
|
54
|
-
margin-top: layout.$spacing-02;
|
|
55
|
-
flex-wrap: wrap;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.row {
|
|
59
|
-
display: flex;
|
|
60
|
-
flex-direction: row;
|
|
61
|
-
justify-content: space-between;
|
|
62
|
-
align-items: baseline;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
.flexRow {
|
|
66
|
-
display: flex;
|
|
67
|
-
flex-flow: row wrap;
|
|
68
|
-
align-items: center;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
.tagsSlot {
|
|
72
|
-
@extend .flexRow;
|
|
73
|
-
margin: 0 layout.$spacing-03;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
.identifiers {
|
|
77
|
-
@include type.type-style('body-compact-02');
|
|
78
|
-
color: colors.$gray-70;
|
|
79
|
-
display: flex;
|
|
80
|
-
flex-wrap: wrap;
|
|
81
|
-
align-items: center;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
.identifier {
|
|
85
|
-
display: flex;
|
|
86
|
-
align-items: center;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
.primaryIdentifier,
|
|
90
|
-
.secondaryIdentifier {
|
|
91
|
-
@include type.type-style('body-compact-02');
|
|
92
|
-
display: flex;
|
|
93
|
-
align-items: center;
|
|
94
|
-
gap: layout.$spacing-02;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
.primaryIdentifier {
|
|
98
|
-
color: colors.$gray-100;
|
|
99
|
-
|
|
100
|
-
.value {
|
|
101
|
-
font-weight: bold;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
.tag {
|
|
105
|
-
max-inline-size: none;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
span {
|
|
109
|
-
overflow: visible;
|
|
110
|
-
text-overflow: unset;
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
.secondaryIdentifier {
|
|
115
|
-
.identifier {
|
|
116
|
-
@include type.type-style('body-compact-02');
|
|
117
|
-
align-self: baseline;
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
.gender {
|
|
122
|
-
display: flex;
|
|
123
|
-
align-items: center;
|
|
124
|
-
color: colors.$gray-70;
|
|
125
|
-
gap: layout.$spacing-01;
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
.separator {
|
|
129
|
-
margin: layout.$spacing-01;
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
.tag {
|
|
133
|
-
font-size: inherit !important;
|
|
134
|
-
margin: 0 !important;
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
.tooltipPadding {
|
|
138
|
-
padding: layout.$spacing-02;
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
.tooltipSmallText {
|
|
142
|
-
font-size: 80%;
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
.actionsButtonText {
|
|
146
|
-
@include type.type-style('body-compact-01');
|
|
147
|
-
color: $interactive-01;
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
// Overriding styles for RTL support
|
|
151
|
-
html[dir='rtl'] {
|
|
152
|
-
.demographics {
|
|
153
|
-
display: flex;
|
|
154
|
-
gap: layout.$spacing-02;
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
.tag {
|
|
158
|
-
margin: layout.$spacing-02 0 layout.$spacing-02 layout.$spacing-02;
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
.patientName {
|
|
162
|
-
margin-right: unset;
|
|
163
|
-
margin-left: layout.$spacing-02;
|
|
164
|
-
}
|
|
165
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export * from './actions-menu/entity-banner-actions-menu.component.js';
|
|
2
|
-
export * from './contact-details/entity-banner-contact-details.component.js';
|
|
3
|
-
export * from './entity-info/entity-banner-entity-info.component.js';
|
|
4
|
-
export * from './entity-info/entity-banner-entity-identifiers.component.js';
|
|
5
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/entity-banner/index.ts"],"names":[],"mappings":"AAAA,cAAc,wDAAwD,CAAC;AACvE,cAAc,8DAA8D,CAAC;AAC7E,cAAc,sDAAsD,CAAC;AACrE,cAAc,6DAA6D,CAAC"}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export * from "./actions-menu/entity-banner-actions-menu.component.js";
|
|
2
|
-
export * from "./contact-details/entity-banner-contact-details.component.js";
|
|
3
|
-
export * from "./entity-info/entity-banner-entity-info.component.js";
|
|
4
|
-
export * from "./entity-info/entity-banner-entity-identifiers.component.js";
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/** @module @category UI */
|
|
2
|
-
import React from 'react';
|
|
3
|
-
export interface EntityPhotoProps {
|
|
4
|
-
entityName: string;
|
|
5
|
-
entityUuid: string;
|
|
6
|
-
alt?: string;
|
|
7
|
-
}
|
|
8
|
-
/**
|
|
9
|
-
* Displays the profile photo for an entity.
|
|
10
|
-
*
|
|
11
|
-
* If no photo is available, it renders a generated geometric avatar
|
|
12
|
-
* based on the entity UUID. The default size is 56px.
|
|
13
|
-
*
|
|
14
|
-
* @example
|
|
15
|
-
* ```tsx
|
|
16
|
-
* import { EntityPhoto } from '@egen-civitas/esm-framework';
|
|
17
|
-
* <EntityPhoto entityUuid="abc-123" entityName="Alice Martin" />
|
|
18
|
-
* ```
|
|
19
|
-
*/
|
|
20
|
-
export declare function EntityPhoto({ entityUuid, entityName, alt }: EntityPhotoProps): React.JSX.Element;
|
|
21
|
-
//# sourceMappingURL=entity-photo.component.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"entity-photo.component.d.ts","sourceRoot":"","sources":["../../src/entity-photo/entity-photo.component.tsx"],"names":[],"mappings":"AAAA,2BAA2B;AAC3B,OAAO,KAAuC,MAAM,OAAO,CAAC;AAQ5D,MAAM,WAAW,gBAAgB;IAC/B,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAWD;;;;;;;;;;;GAWG;AACH,wBAAgB,WAAW,CAAC,EAAE,UAAU,EAAE,UAAU,EAAE,GAAG,EAAE,EAAE,gBAAgB,qBAgF5E"}
|
|
@@ -1,111 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
/** @module @category UI */ import React, { useEffect, useMemo, useState } from "react";
|
|
3
|
-
import GeoPattern from "geopattern";
|
|
4
|
-
import { SkeletonIcon } from "@carbon/react";
|
|
5
|
-
import { getCoreTranslation } from "@egen-civitas/esm-translations";
|
|
6
|
-
import { useEntityPhoto } from "./useEntityPhoto.js";
|
|
7
|
-
import PlaceholderIcon from "./placeholder-icon.component.js";
|
|
8
|
-
import styles from "./entity-photo.module.scss";
|
|
9
|
-
function getInitials(name, maxInitials = 3) {
|
|
10
|
-
return name.split(/\s+/).filter(Boolean).slice(0, maxInitials).map((part)=>part[0]).join('');
|
|
11
|
-
}
|
|
12
|
-
/**
|
|
13
|
-
* Displays the profile photo for an entity.
|
|
14
|
-
*
|
|
15
|
-
* If no photo is available, it renders a generated geometric avatar
|
|
16
|
-
* based on the entity UUID. The default size is 56px.
|
|
17
|
-
*
|
|
18
|
-
* @example
|
|
19
|
-
* ```tsx
|
|
20
|
-
* import { EntityPhoto } from '@egen-civitas/esm-framework';
|
|
21
|
-
* <EntityPhoto entityUuid="abc-123" entityName="Alice Martin" />
|
|
22
|
-
* ```
|
|
23
|
-
*/ export function EntityPhoto({ entityUuid, entityName, alt }) {
|
|
24
|
-
const { data: photo, isLoading } = useEntityPhoto(entityUuid);
|
|
25
|
-
const [validImageSrc, setValidImageSrc] = useState(null);
|
|
26
|
-
const [isValidating, setIsValidating] = useState(false);
|
|
27
|
-
const pattern = useMemo(()=>GeoPattern.generate(entityUuid), [
|
|
28
|
-
entityUuid
|
|
29
|
-
]);
|
|
30
|
-
useEffect(()=>{
|
|
31
|
-
if (photo?.imageSrc) {
|
|
32
|
-
const imageSrc = new URL(photo.imageSrc, window.location.origin).pathname;
|
|
33
|
-
setIsValidating(true);
|
|
34
|
-
let cancelled = false;
|
|
35
|
-
const img = new Image();
|
|
36
|
-
img.onload = ()=>{
|
|
37
|
-
if (!cancelled) {
|
|
38
|
-
setValidImageSrc(imageSrc);
|
|
39
|
-
setIsValidating(false);
|
|
40
|
-
}
|
|
41
|
-
};
|
|
42
|
-
img.onerror = ()=>{
|
|
43
|
-
if (!cancelled) {
|
|
44
|
-
setValidImageSrc(null);
|
|
45
|
-
setIsValidating(false);
|
|
46
|
-
}
|
|
47
|
-
};
|
|
48
|
-
img.src = imageSrc;
|
|
49
|
-
return ()=>{
|
|
50
|
-
cancelled = true;
|
|
51
|
-
};
|
|
52
|
-
} else {
|
|
53
|
-
setValidImageSrc(null);
|
|
54
|
-
setIsValidating(false);
|
|
55
|
-
}
|
|
56
|
-
}, [
|
|
57
|
-
photo?.imageSrc
|
|
58
|
-
]);
|
|
59
|
-
const altText = useMemo(()=>{
|
|
60
|
-
if (alt) return alt;
|
|
61
|
-
return validImageSrc ? getCoreTranslation('entityPhotoAlt', 'Profile photo of {{entityName}}', {
|
|
62
|
-
entityName
|
|
63
|
-
}) : getCoreTranslation('entityAvatarAlt', 'Avatar for {{entityName}}', {
|
|
64
|
-
entityName
|
|
65
|
-
});
|
|
66
|
-
}, [
|
|
67
|
-
alt,
|
|
68
|
-
validImageSrc,
|
|
69
|
-
entityName
|
|
70
|
-
]);
|
|
71
|
-
if (isLoading || isValidating) {
|
|
72
|
-
return /*#__PURE__*/ _jsx(SkeletonIcon, {
|
|
73
|
-
className: styles.skeleton,
|
|
74
|
-
"data-testid": "skeleton-icon"
|
|
75
|
-
});
|
|
76
|
-
}
|
|
77
|
-
if (photo?.imageSrc && !validImageSrc) {
|
|
78
|
-
return /*#__PURE__*/ _jsx(PlaceholderIcon, {
|
|
79
|
-
"aria-label": getCoreTranslation('entityPhotoPlaceholder', 'Photo placeholder for {{entityName}}', {
|
|
80
|
-
entityName
|
|
81
|
-
})
|
|
82
|
-
});
|
|
83
|
-
}
|
|
84
|
-
if (validImageSrc) {
|
|
85
|
-
return /*#__PURE__*/ _jsx("div", {
|
|
86
|
-
"aria-label": altText,
|
|
87
|
-
children: /*#__PURE__*/ _jsx("img", {
|
|
88
|
-
className: styles.avatar,
|
|
89
|
-
src: validImageSrc,
|
|
90
|
-
alt: altText,
|
|
91
|
-
title: entityName
|
|
92
|
-
})
|
|
93
|
-
});
|
|
94
|
-
}
|
|
95
|
-
return /*#__PURE__*/ _jsx("div", {
|
|
96
|
-
"aria-label": altText,
|
|
97
|
-
children: /*#__PURE__*/ _jsx("div", {
|
|
98
|
-
className: styles.avatar,
|
|
99
|
-
title: entityName,
|
|
100
|
-
style: {
|
|
101
|
-
backgroundImage: pattern.toDataUrl(),
|
|
102
|
-
backgroundRepeat: 'no-repeat',
|
|
103
|
-
backgroundSize: 'cover'
|
|
104
|
-
},
|
|
105
|
-
children: /*#__PURE__*/ _jsx("span", {
|
|
106
|
-
className: styles.initials,
|
|
107
|
-
children: getInitials(entityName)
|
|
108
|
-
})
|
|
109
|
-
})
|
|
110
|
-
});
|
|
111
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
.skeleton {
|
|
2
|
-
height: 3.5rem;
|
|
3
|
-
width: 3.5rem;
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
.avatar {
|
|
7
|
-
width: 3.5rem;
|
|
8
|
-
height: 3.5rem;
|
|
9
|
-
display: flex;
|
|
10
|
-
align-items: center;
|
|
11
|
-
justify-content: center;
|
|
12
|
-
overflow: hidden;
|
|
13
|
-
object-fit: cover;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.initials {
|
|
17
|
-
font-size: 1.75rem;
|
|
18
|
-
color: var(--colors-on-primary, #fff);
|
|
19
|
-
line-height: 1;
|
|
20
|
-
user-select: none;
|
|
21
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/entity-photo/index.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAC;AAC5C,cAAc,qBAAqB,CAAC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
interface PlaceholderIconProps {
|
|
3
|
-
width?: number;
|
|
4
|
-
height?: number;
|
|
5
|
-
'aria-label'?: string;
|
|
6
|
-
}
|
|
7
|
-
declare const PlaceholderIcon: React.FC<PlaceholderIconProps>;
|
|
8
|
-
export default PlaceholderIcon;
|
|
9
|
-
//# sourceMappingURL=placeholder-icon.component.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"placeholder-icon.component.d.ts","sourceRoot":"","sources":["../../src/entity-photo/placeholder-icon.component.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,UAAU,oBAAoB;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,QAAA,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAoBnD,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import React from "react";
|
|
3
|
-
import { useTranslation } from "react-i18next";
|
|
4
|
-
const PlaceholderIcon = ({ width = 56, height = 56, 'aria-label': ariaLabel })=>{
|
|
5
|
-
const { t } = useTranslation();
|
|
6
|
-
return /*#__PURE__*/ _jsxs("svg", {
|
|
7
|
-
"aria-label": ariaLabel ?? t('entityPhotoPlaceholder', 'Entity photo placeholder'),
|
|
8
|
-
width: width,
|
|
9
|
-
height: height,
|
|
10
|
-
fill: "none",
|
|
11
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
12
|
-
children: [
|
|
13
|
-
/*#__PURE__*/ _jsx("path", {
|
|
14
|
-
fill: "#ffffff",
|
|
15
|
-
d: "M0 0h56v56H0z"
|
|
16
|
-
}),
|
|
17
|
-
/*#__PURE__*/ _jsx("path", {
|
|
18
|
-
fillRule: "evenodd",
|
|
19
|
-
clipRule: "evenodd",
|
|
20
|
-
d: "m36.75 20.134-.884-.884L19.25 35.866l.884.884 1.25-1.25H34.25a1.252 1.252 0 0 0 1.25-1.25V21.384l1.25-1.25Zm-2.5 14.116H22.634l4.87-4.87 1.487 1.486a1.25 1.25 0 0 0 1.768 0l.991-.991 2.5 2.498v1.877Zm0-3.645-1.616-1.616a1.25 1.25 0 0 0-1.768 0l-.991.991-1.486-1.486 5.861-5.86v7.971Zm-12.5 1.145v-1.875l3.125-3.123.858.859.885-.885-.86-.86a1.25 1.25 0 0 0-1.767 0l-2.241 2.242V21.75h10V20.5h-10c-.69 0-1.25.56-1.25 1.25v10h1.25Z",
|
|
21
|
-
fill: "#8D8D8D"
|
|
22
|
-
})
|
|
23
|
-
]
|
|
24
|
-
});
|
|
25
|
-
};
|
|
26
|
-
export default PlaceholderIcon;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
export interface UseEntityPhotoResult {
|
|
2
|
-
data: {
|
|
3
|
-
dateTime: string;
|
|
4
|
-
imageSrc: string;
|
|
5
|
-
} | null;
|
|
6
|
-
error?: Error;
|
|
7
|
-
isLoading: boolean;
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* React hook to fetch the profile photo for an entity.
|
|
11
|
-
*
|
|
12
|
-
* The photo concept UUID is read from the styleguide config (`entityPhotoConceptUuid`).
|
|
13
|
-
* If not configured, no request is made.
|
|
14
|
-
*
|
|
15
|
-
* @param entityUuid The UUID of the entity.
|
|
16
|
-
* @returns An object with `data` (imageSrc + dateTime), `error`, and `isLoading`.
|
|
17
|
-
*
|
|
18
|
-
* @example
|
|
19
|
-
* ```tsx
|
|
20
|
-
* import { useEntityPhoto } from '@egen-civitas/esm-framework';
|
|
21
|
-
* function ProfilePhoto({ entityUuid }) {
|
|
22
|
-
* const { data, isLoading } = useEntityPhoto(entityUuid);
|
|
23
|
-
* if (isLoading) return <Spinner />;
|
|
24
|
-
* return data ? <img src={data.imageSrc} /> : <AvatarIcon />;
|
|
25
|
-
* }
|
|
26
|
-
* ```
|
|
27
|
-
*/
|
|
28
|
-
export declare function useEntityPhoto(entityUuid: string): UseEntityPhotoResult;
|
|
29
|
-
//# sourceMappingURL=useEntityPhoto.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useEntityPhoto.d.ts","sourceRoot":"","sources":["../../src/entity-photo/useEntityPhoto.ts"],"names":[],"mappings":"AAMA,MAAM,WAAW,oBAAoB;IACnC,IAAI,EAAE;QAAE,QAAQ,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAC;IACpD,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,SAAS,EAAE,OAAO,CAAC;CACpB;AAmBD;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,cAAc,CAAC,UAAU,EAAE,MAAM,GAAG,oBAAoB,CA0BvE"}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
/** @module @category UI */ import useSWR from "swr";
|
|
2
|
-
import { egenFetch, restBaseUrl } from "@egen-civitas/esm-api";
|
|
3
|
-
import { useConfig } from "@egen-civitas/esm-react-utils";
|
|
4
|
-
/**
|
|
5
|
-
* React hook to fetch the profile photo for an entity.
|
|
6
|
-
*
|
|
7
|
-
* The photo concept UUID is read from the styleguide config (`entityPhotoConceptUuid`).
|
|
8
|
-
* If not configured, no request is made.
|
|
9
|
-
*
|
|
10
|
-
* @param entityUuid The UUID of the entity.
|
|
11
|
-
* @returns An object with `data` (imageSrc + dateTime), `error`, and `isLoading`.
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* ```tsx
|
|
15
|
-
* import { useEntityPhoto } from '@egen-civitas/esm-framework';
|
|
16
|
-
* function ProfilePhoto({ entityUuid }) {
|
|
17
|
-
* const { data, isLoading } = useEntityPhoto(entityUuid);
|
|
18
|
-
* if (isLoading) return <Spinner />;
|
|
19
|
-
* return data ? <img src={data.imageSrc} /> : <AvatarIcon />;
|
|
20
|
-
* }
|
|
21
|
-
* ```
|
|
22
|
-
*/ export function useEntityPhoto(entityUuid) {
|
|
23
|
-
const { entityPhotoConceptUuid } = useConfig({
|
|
24
|
-
externalModuleName: '@egen-civitas/esm-styleguide'
|
|
25
|
-
});
|
|
26
|
-
const url = entityPhotoConceptUuid ? `${restBaseUrl}/datapoint?entity=${entityUuid}&concept=${entityPhotoConceptUuid}&v=full` : null;
|
|
27
|
-
const { data, error, isLoading } = useSWR(entityUuid ? url : null, egenFetch);
|
|
28
|
-
const item = data?.data?.results[0];
|
|
29
|
-
return {
|
|
30
|
-
data: item ? {
|
|
31
|
-
dateTime: item?.recordedDatetime,
|
|
32
|
-
imageSrc: item?.value?.links?.uri
|
|
33
|
-
} : null,
|
|
34
|
-
error,
|
|
35
|
-
isLoading
|
|
36
|
-
};
|
|
37
|
-
}
|
package/dist/icons/svgs/baby.svg
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg"><path d="M8 5.667A1.833 1.833 0 1 0 8 2a1.833 1.833 0 0 0 0 3.667m1.667 1.845a19 19 0 0 0 1.826-.369.667.667 0 1 0-.32-1.294c-1.27.314-2.229.455-3.17.452-.945-.004-1.905-.153-3.184-.454a.667.667 0 1 0-.305 1.298c.658.155 1.253.275 1.82.358v.83h3.333zM8.893 10.66c.584-.26.774-.802.774-1.013V9H6.333v.647c0 .21.19.753.774 1.013.067.03.142.067.21.1l.039.02a4 4 0 0 0 .244.114q.253.107.4.106.147.001.4-.106a5 5 0 0 0 .244-.114l.04-.02m.21-.1c-.068.03-.143.067-.21.1zM6.812 11.286a1.8 1.8 0 0 1-.818-.72c-.518.45-.802 1.017-.802 1.764 0 .298.063.745.229 1.107.17.371.397.563.685.563.31 0 .57-.236.57-.54 0-.136-.057-.264-.147-.454l-.006-.013c-.082-.172-.19-.399-.19-.663 0-.29.142-.596.31-.844q.08-.119.169-.2m2.376-.001a1.8 1.8 0 0 0 .818-.719c.518.45.802 1.017.802 1.764 0 .298-.063.745-.229 1.107-.17.371-.397.563-.685.563-.31 0-.57-.236-.57-.54 0-.136.057-.264.147-.454l.006-.013c.082-.172.19-.399.19-.663 0-.29-.142-.596-.31-.844a1.2 1.2 0 0 0-.169-.2z"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg"><path d="M13.616 11.81 10 6.836V2h1V1H5v1h1v4.837L2.384 11.81A2.009 2.009 0 0 0 4.01 15h7.982a2.01 2.01 0 0 0 1.625-3.19M7 7.162V2h2v5.163L10.336 9H5.664zM11.99 14H4.01a1.01 1.01 0 0 1-.817-1.603L4.936 10h6.128l1.743 2.397A1.011 1.011 0 0 1 11.991 14"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#a)"><path fill="none" d="M16 0H0v16h16z"/><path d="M4.667 12.68V3.334h3.728c1.532-.015 2.521.861 2.603 2.414.027.504-.094 1.212-.266 1.555s-.62 1.061-1.612 1.25l.633 1.218 1.175-1.482H12l-1.832 2.292 1.101 2.1H9.992l-.598-1.17-.907 1.17H7.392l1.584-2.022-1.006-2H5.782v4.023zm1.118-4.979H8.55c.321-.02 1.253-.02 1.253-1.892 0-1.231-.748-1.489-1.42-1.485H5.785z"/></g><defs><clipPath id="a"><path fill="#fff" d="M0 0h16v16H0z"/></clipPath></defs></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg"><defs><style>.cls-2{stroke-width:0}</style></defs><path d="M28.59 20.59 22 27.18l-2.59-2.59L18 26l4 4 8-8zM10 20h6v2h-6zM10 16h8v2h-8z" class="cls-2"/><path d="M8 4h8v6c0 1.1.9 2 2 2h6v6h2v-8c0-.3-.1-.5-.3-.7l-7-7c-.2-.2-.4-.3-.7-.3H8c-1.1 0-2 .9-2 2v24c0 1.1.9 2 2 2h7v-2H8zm10 .4 5.6 5.6H18z" class="cls-2"/><rect id="_Transparent_Rectangle_" data-name="&lt;Transparent Rectangle&gt;" style="fill:none;stroke-width:0"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg"><path d="M12.5 8h-4a1 1 0 0 0-1 1v3H2V7H1v8h1v-2h12v2h1v-4.5A2.503 2.503 0 0 0 12.5 8m1.5 4H8.5V9h4a1.5 1.5 0 0 1 1.5 1.5z"/><path d="M4.75 8.5a.75.75 0 1 1 0 1.5.75.75 0 0 1 0-1.5m0-1a1.75 1.75 0 1 0 0 3.5 1.75 1.75 0 0 0 0-3.5M10.5 3h-2V1h-1v2h-2v1h2v2h1V4h2z"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg"><path d="M13 3v10H3V3zm0-1H3a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V3a1 1 0 0 0-1-1"/><path d="M11 8V7H8.5V6H10V5H8.5V4h-1v1H6v1h1.5v1H5v1h2.5v1H5v1h2.5v1H6v1h4v-1H8.5v-1H11V9H8.5V8z"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="4 4 20 20"><path d="M17.616 15.81 14 10.836V6h1V5H9v1h1v4.837L6.384 15.81A2.01 2.01 0 0 0 8.01 19h7.982a2.01 2.01 0 0 0 1.625-3.19M11 11.162V6h2v5.163L14.336 13H9.664zM15.99 18H8.01a1.01 1.01 0 0 1-.817-1.603L8.936 14h6.128l1.743 2.397A1.01 1.01 0 0 1 15.991 18"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#a)"><path fill="none" d="M16 0H0v16h16z"/><path fill="none" d="M2.667 2.667h10.667v10.667H2.667z"/><path d="M9.333 9.667H6.667A.667.667 0 0 1 6 9v-.667a.667.667 0 0 1 .667-.666h2.666a.667.667 0 0 1 .667.666V9a.667.667 0 0 1-.667.667M6.667 8.333V9h2.666v-.667z"/><path d="M12 4H4a.667.667 0 0 0-.667.667V6A.667.667 0 0 0 4 6.667V12a.667.667 0 0 0 .667.667h6.666A.667.667 0 0 0 12 12V6.667A.667.667 0 0 0 12.667 6V4.667A.667.667 0 0 0 12 4m-.667 8H4.667V6.667h6.666zM12 6H4V4.667h8z"/></g><defs><clipPath id="a"><path fill="#fff" d="M0 0h16v16H0z"/></clipPath></defs></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg"><path d="M12 1H4a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1v9a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V5a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1M5 7h1.5v5H5zm6 7H5v-1h2.5V6H5V5h6zM4 4V2h8v2z"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg"><path d="M12.697 12a3.94 3.94 0 0 0-.835-4.284 1.96 1.96 0 0 0-.542-2.207l1.388-1.388a1 1 0 0 0 0-1.415l-1.415-1.414a1 1 0 0 0-1.414 0L3.293 7.88a1 1 0 0 0 0 1.414l1.414 1.414a1 1 0 0 0 1.414 0L8.51 8.319a1.966 1.966 0 0 0 2.757.217A2.97 2.97 0 0 1 11.589 12H8v2H2v1h12v-3zm-7.283-2L4 8.586l.94-.94L6.353 9.06zM8 7q0 .19.038.376l-.977.977L5.646 6.94 10.586 2l1.415 1.414-1.625 1.625A1.99 1.99 0 0 0 8 7m2 1a1 1 0 1 1 0-2 1 1 0 0 1 0 2m3 6H9v-1h4z"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg"><path d="M11.022 7.123a.83.83 0 0 0-.878-.445l-4.417.725c-.367.06-.683.291-.852.622l-1.451 2.859a.83.83 0 0 0 .068.866l1.91 2.633a.833.833 0 0 0 1.35-.979l-.564-.776a.67.67 0 0 1 .358-.46l1.077-.531-1.077-.53a.67.67 0 0 1-.372-.598V9.192a.667.667 0 0 1 1.333 0v.902l1.92.945a.667.667 0 0 1 .206 1.04l.007-.003-.418.576a.833.833 0 1 0 1.35.979l1.91-2.633a.83.83 0 0 0 .068-.867zm.311 2.377A1.167 1.167 0 1 1 9 9.5a1.167 1.167 0 0 1 2.333 0M10.333 3.667a2.333 2.333 0 1 1-4.666 0 2.333 2.333 0 0 1 4.666 0"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path d="M28.83 5.17a4.1 4.1 0 0 0-5.66 0L.34 28h9.25a5 5 0 0 0 3.53-1.46l15.71-15.71a4 4 0 0 0 0-5.66M12.29 18.88l2.09-2.09 2.83 2.83-2.09 2.09Zm-.58 6.24a3 3 0 0 1-2.12.88H5.17l5.71-5.71 2.83 2.83Zm15.7-15.71-8.79 8.8-2.83-2.83 8.8-8.79a2 2 0 0 1 2.82 0 2 2 0 0 1 0 2.82"/><path d="M0 0h32v32H0z" data-name="<Transparent Rectangle>" style="fill:none"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#a)"><path fill="none" d="M16 0H0v16h16z"/><path fill-rule="evenodd" d="M4.667 9.667v-.334H4v.334A2.333 2.333 0 0 0 6.333 12h1v-.667h-1c-.92 0-1.666-.746-1.666-1.666m6-3.334v.334h.666v-.334A2.333 2.333 0 0 0 9 4H8v.667h1a1.667 1.667 0 0 1 1.667 1.666m-4.334 0h-2a1 1 0 0 0-1 1V8H4v-.667C4 7.15 4.15 7 4.333 7h2c.184 0 .334.15.334.333V8h.666v-.667a1 1 0 0 0-1-1m-1-.333a1.333 1.333 0 1 0 0-2.667 1.333 1.333 0 0 0 0 2.667m0-2a.667.667 0 1 1 0 1.333.667.667 0 0 1 0-1.333m6.334 7h-2a1 1 0 0 0-1 1v.667h.666V12c0-.184.15-.333.334-.333h2c.184 0 .333.149.333.333v.667h.667V12a1 1 0 0 0-1-1M9.333 9.333a1.333 1.333 0 1 0 2.667 0 1.333 1.333 0 0 0-2.667 0m2 0a.667.667 0 1 1-1.333 0 .667.667 0 0 1 1.333 0" clip-rule="evenodd"/></g><defs><clipPath id="a"><path fill="#fff" d="M0 0h16v16H0z"/></clipPath></defs></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M.155 3.143a.528.528 0 0 0 .747.748l.374-.374 1.867 1.868L1.65 6.879a.528.528 0 1 0 .747.747l.747-.747 6.351 6.351a2.64 2.64 0 0 0 2.833.592l.53.53c.276.276.668.367 1.02.273l1.221 1.22a.528.528 0 1 0 .747-.747l-1.22-1.22a1.06 1.06 0 0 0-.274-1.021l-.53-.53a2.64 2.64 0 0 0-.59-2.833l-6.352-6.35.747-.748a.528.528 0 1 0-.747-.747L5.385 3.143 3.517 1.275l.374-.373a.528.528 0 0 0-.748-.747zm4.584.646L2.872 1.92l-.95.95L3.788 4.74zm1.494 0L3.79 6.233l2.012 2.012 2.444-2.444zm.315 5.203 1.12 1.121.85-.849a.528.528 0 1 1 .747.748l-.85.848.748.747.849-.848a.528.528 0 1 1 .747.747l-.849.848.23.23c.501.502 1.234.63 1.855.387l.976-.976a1.73 1.73 0 0 0-.387-1.855L8.992 6.548zm7.17 4.525-.013-.014-.376-.377a3 3 0 0 1-.203.203l.376.376q.008.008.015.013a.53.53 0 0 1 .2-.201" clip-rule="evenodd"/></svg>
|
package/dist/logo/_logo.scss
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
#egen-logo-full-color,
|
|
2
|
-
#egen-logo-partial-color,
|
|
3
|
-
#egen-logo-icon-color {
|
|
4
|
-
--logo-red: #e15d29;
|
|
5
|
-
--logo-orange: #e4a12a;
|
|
6
|
-
--logo-purple: #545090;
|
|
7
|
-
--logo-green: #008877;
|
|
8
|
-
--logo-black: #1a1919;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
#egen-logo-full-mono,
|
|
12
|
-
#egen-logo-partial-mono,
|
|
13
|
-
#egen-logo-icon-mono {
|
|
14
|
-
--logo-red: rgba(19, 19, 21, 0.6);
|
|
15
|
-
--logo-orange: rgba(19, 19, 21, 0.6);
|
|
16
|
-
--logo-purple: rgba(19, 19, 21, 0.6);
|
|
17
|
-
--logo-green: rgba(19, 19, 21, 0.6);
|
|
18
|
-
--logo-black: rgba(19, 19, 21, 0.6);
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
#egen-logo-full-grey,
|
|
22
|
-
#egen-logo-partial-grey,
|
|
23
|
-
#egen-logo-icon-grey {
|
|
24
|
-
--logo-red: #eee;
|
|
25
|
-
--logo-orange: #eee;
|
|
26
|
-
--logo-purple: #c6c6c6;
|
|
27
|
-
--logo-green: #c6c6c6;
|
|
28
|
-
--logo-black: #c6c6c6;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
#egen-logo-white {
|
|
32
|
-
--logo-grey: #c6c6c6;
|
|
33
|
-
--logo-white: #fff;
|
|
34
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 380 119"><path fill="var(--logo-red)" fill-rule="evenodd" d="M40.29 40.328a27.76 27.76 0 0 1 19.688-8.154c7.669 0 14.613 3.102 19.646 8.116l.021-18.54A42.84 42.84 0 0 0 59.978 17c-7.089 0-13.813 1.93-19.709 4.968z" clip-rule="evenodd"/><path fill="var(--logo-orange)" fill-rule="evenodd" d="M79.645 79.671a27.74 27.74 0 0 1-19.684 8.154c-7.67 0-14.614-3.101-19.651-8.116l-.02 18.54A42.86 42.86 0 0 0 59.96 103a42.8 42.8 0 0 0 19.672-4.751z" clip-rule="evenodd"/><path fill="var(--logo-purple)" fill-rule="evenodd" d="M40.328 79.696c-5.038-5.037-8.154-11.995-8.154-19.685 0-7.669 3.102-14.612 8.116-19.65l-18.54-.02A42.85 42.85 0 0 0 17 60.012a42.8 42.8 0 0 0 4.752 19.672z" clip-rule="evenodd"/><path fill="var(--logo-green)" fill-rule="evenodd" d="M79.634 40.289a27.75 27.75 0 0 1 8.154 19.688 27.74 27.74 0 0 1-8.117 19.646l18.542.02a42.84 42.84 0 0 0 4.749-19.666c0-7.09-1.714-13.779-4.751-19.675z" clip-rule="evenodd"/><path fill="var(--logo-black)" fill-rule="evenodd" d="M156.184 60.003c0-8.749-6.118-15.777-15.025-15.777-8.909 0-15.025 7.028-15.025 15.776s6.116 15.78 15.025 15.78c8.907 0 15.025-7.031 15.025-15.78m-34.881 0c0-11.483 8.318-19.96 19.856-19.96 11.536 0 19.855 8.478 19.855 19.96 0 11.484-8.319 19.964-19.855 19.964-11.538 0-19.856-8.48-19.856-19.964M179.514 75.54c5.507 0 9.05-4.14 9.05-9.482s-3.543-9.483-9.05-9.483c-5.505 0-9.046 4.142-9.046 9.483s3.541 9.482 9.046 9.482M166.22 53.306h4.248v3.704h.11c2.344-2.725 5.449-4.36 9.154-4.36 8.014 0 13.408 5.67 13.408 13.408 0 7.63-5.613 13.406-12.752 13.406-4.58 0-8.231-2.29-9.81-5.178h-.11V90.87h-4.248zM217.773 63.768c-.163-4.305-3-7.193-7.686-7.193-4.685 0-7.79 2.888-8.335 7.193zm3.653 10.412c-3.001 3.868-6.596 5.284-11.339 5.284-8.01 0-12.914-5.993-12.914-13.406 0-7.901 5.559-13.407 13.08-13.407 7.196 0 12.096 4.906 12.096 13.354v1.362h-20.597c.325 4.413 3.704 8.173 8.335 8.173 3.65 0 6.105-1.307 8.12-3.868zM227.854 59.357c0-2.347-.216-4.361-.216-6.05h4.031c0 1.362.11 2.776.11 4.194h.11c1.144-2.505 4.306-4.85 8.5-4.85 6.705 0 9.699 4.252 9.699 10.41v15.748h-4.248v-15.31c0-4.253-1.856-6.924-5.833-6.924-5.503 0-7.903 3.979-7.903 9.811V78.81h-4.25zM259.211 41.009h6.708L278.8 70.79h.107l12.982-29.782h6.549v37.99h-4.506V47.124h-.106L280.192 79h-2.738l-13.629-31.875h-.107V79h-4.507zM312.392 57.752h4.023c4.992 0 11.487 0 11.487-6.282 0-5.47-4.776-6.276-9.177-6.276h-6.333zm-4.506-16.744h9.711c7.352 0 15.132 1.072 15.132 10.462 0 5.527-3.594 9.125-9.495 10.037l10.784 17.492h-5.525l-10.304-17.063h-5.797V79h-4.506zM358.123 47.713c-1.506-2.414-4.187-3.487-6.926-3.487-3.973 0-8.1 1.88-8.1 6.385 0 3.49 1.931 5.047 7.994 6.98 5.903 1.878 11.377 3.809 11.377 11.267 0 7.567-6.495 11.11-13.36 11.11-4.402 0-9.125-1.45-11.7-5.262l3.862-3.165c1.61 2.794 4.83 4.24 8.105 4.24 3.862 0 8.263-2.253 8.263-6.601 0-4.669-3.165-5.474-9.928-7.728-5.366-1.771-9.442-4.134-9.442-10.463 0-7.298 6.277-10.945 12.929-10.945 4.241 0 7.836 1.178 10.625 4.45zM185.885 90.998h1.424l2.734 6.326h.023l2.758-6.326h1.391v8.07h-.957v-6.77h-.024l-2.894 6.77h-.582l-2.894-6.77h-.022v6.77h-.957zM198.386 90.998h5.071v.889h-4.114v2.53h3.841v.89h-3.841v2.871h4.32v.89h-5.277zM207.891 98.178h1.822c1.848 0 3.25-.935 3.25-3.146s-1.402-3.145-3.25-3.145h-1.822zm-.957-7.18h3.1c1.583 0 3.953 1.06 3.953 4.034 0 2.976-2.37 4.036-3.953 4.036h-3.1zM217.007 99.068h.958v-8.07h-.958zM227.105 92.663c-.478-.651-1.242-.981-2.017-.981-1.8 0-3.077 1.584-3.077 3.35 0 1.87 1.266 3.352 3.077 3.352.98 0 1.767-.4 2.337-1.129l.718.603c-.718.97-1.766 1.414-3.055 1.414-2.314 0-4.102-1.79-4.102-4.24 0-2.37 1.709-4.239 4.102-4.239 1.095 0 2.166.377 2.849 1.266zM233.557 92.23h-.024l-1.675 3.965h3.294zm-.434-1.232h.9l3.43 8.07h-1.117l-.82-1.984h-4.034l-.832 1.984h-1.082zM240.006 90.998h.958v7.18h3.692v.89h-4.65zM252.793 94.554h.855c1.06 0 2.439 0 2.439-1.334 0-1.161-1.014-1.333-1.948-1.333h-1.346zm-.957-3.556h2.063c1.561 0 3.214.228 3.214 2.222 0 1.174-.764 1.938-2.018 2.132l2.291 3.716h-1.173l-2.19-3.625h-1.23v3.625h-.957zM260.51 90.998h5.07v.889h-4.112v2.53h3.84v.89h-3.84v2.871h4.318v.89h-5.276zM274.402 92.663c-.479-.651-1.242-.981-2.018-.981-1.8 0-3.077 1.584-3.077 3.35 0 1.87 1.266 3.352 3.077 3.352.98 0 1.767-.4 2.336-1.129l.718.603c-.718.97-1.766 1.414-3.054 1.414-2.313 0-4.102-1.79-4.102-4.24 0-2.37 1.709-4.239 4.102-4.239 1.094 0 2.166.377 2.85 1.266zM284.739 95.032c0-1.857-1.3-3.35-3.191-3.35-1.892 0-3.191 1.493-3.191 3.35 0 1.858 1.299 3.352 3.191 3.352s3.191-1.494 3.191-3.352m-7.409 0c0-2.439 1.767-4.239 4.218-4.239s4.217 1.8 4.217 4.239-1.767 4.24-4.217 4.24c-2.451 0-4.218-1.8-4.218-4.24M289.514 94.554h.855c1.059 0 2.438 0 2.438-1.334 0-1.161-1.014-1.333-1.948-1.333h-1.345zm-.958-3.556h2.062c1.563 0 3.215.228 3.215 2.222 0 1.174-.763 1.938-2.016 2.132l2.289 3.716h-1.173l-2.189-3.625h-1.23v3.625h-.958zM297.81 98.178h1.825c1.845 0 3.246-.935 3.246-3.146s-1.401-3.145-3.246-3.145h-1.825zm-.957-7.18h3.1c1.585 0 3.956 1.06 3.956 4.034 0 2.976-2.371 4.036-3.956 4.036h-3.1zM315.407 92.422c-.318-.513-.89-.74-1.47-.74-.844 0-1.721.4-1.721 1.356 0 .74.41 1.072 1.698 1.482 1.254.399 2.417.81 2.417 2.393 0 1.607-1.38 2.36-2.838 2.36-.935 0-1.938-.309-2.486-1.118l.821-.672c.342.593 1.026.9 1.721.9.821 0 1.754-.478 1.754-1.402 0-.991-.67-1.163-2.107-1.64-1.139-.377-2.006-.878-2.006-2.222 0-1.551 1.333-2.326 2.747-2.326.9 0 1.664.25 2.256.946zM320.844 95.591l-3.009-4.593h1.219l2.269 3.647 2.335-3.647h1.152l-3.01 4.593v3.477h-.956zM330.565 92.422c-.32-.513-.89-.74-1.471-.74-.843 0-1.72.4-1.72 1.356 0 .74.41 1.072 1.698 1.482 1.254.399 2.415.81 2.415 2.393 0 1.607-1.378 2.36-2.837 2.36-.934 0-1.937-.309-2.485-1.118l.821-.672c.342.593 1.026.9 1.721.9.821 0 1.754-.478 1.754-1.402 0-.991-.671-1.163-2.107-1.64-1.139-.377-2.006-.878-2.006-2.222 0-1.551 1.333-2.326 2.746-2.326.901 0 1.665.25 2.257.946zM339.283 91.887h-2.666v7.18h-.958v-7.18h-2.667v-.889h6.291zM341.665 90.998h5.071v.889h-4.113v2.53h3.84v.89h-3.84v2.871h4.319v.89h-5.277zM349.905 90.998h1.424l2.735 6.326h.023l2.758-6.326h1.391v8.07h-.958v-6.77h-.023l-2.894 6.77h-.582l-2.895-6.77h-.021v6.77h-.958z" clip-rule="evenodd"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="121" height="118"><path fill="var(--logo-red)" fill-rule="evenodd" d="M40.436 39.474a27.93 27.93 0 0 1 19.811-8.205c7.717 0 14.705 3.122 19.77 8.167l.021-18.656A43.1 43.1 0 0 0 60.247 16c-7.133 0-13.899 1.943-19.832 4.999z" clip-rule="evenodd"/><path fill="var(--logo-orange)" fill-rule="evenodd" d="M80.038 79.064a27.92 27.92 0 0 1-19.808 8.205c-7.717 0-14.705-3.121-19.774-8.167l-.02 18.657a43.1 43.1 0 0 0 19.794 4.78 43.1 43.1 0 0 0 19.794-4.781z" clip-rule="evenodd"/><path fill="var(--logo-purple)" fill-rule="evenodd" d="M40.474 79.089c-5.069-5.069-8.205-12.07-8.205-19.808 0-7.717 3.121-14.704 8.167-19.773l-18.657-.02A43.1 43.1 0 0 0 17 59.281a43.1 43.1 0 0 0 4.782 19.795z" clip-rule="evenodd"/><path fill="var(--logo-green)" fill-rule="evenodd" d="M80.027 39.435a27.93 27.93 0 0 1 8.205 19.811 27.92 27.92 0 0 1-8.168 19.769l18.658.021a43.1 43.1 0 0 0 4.779-19.79 43.1 43.1 0 0 0-4.781-19.798z" clip-rule="evenodd"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 380 119"><path fill="var(--logo-red)" fill-rule="evenodd" d="M40.29 40.328a27.76 27.76 0 0 1 19.688-8.154c7.669 0 14.613 3.102 19.647 8.116l.02-18.54A42.84 42.84 0 0 0 59.978 17c-7.089 0-13.813 1.93-19.709 4.968z" clip-rule="evenodd"/><path fill="var(--logo-orange)" fill-rule="evenodd" d="M79.645 79.671a27.74 27.74 0 0 1-19.684 8.154c-7.67 0-14.614-3.101-19.651-8.116l-.02 18.54A42.86 42.86 0 0 0 59.96 103a42.8 42.8 0 0 0 19.672-4.751z" clip-rule="evenodd"/><path fill="var(--logo-purple)" fill-rule="evenodd" d="M40.328 79.696c-5.038-5.037-8.154-11.995-8.154-19.685 0-7.669 3.102-14.612 8.116-19.65l-18.54-.02A42.85 42.85 0 0 0 17 60.012a42.8 42.8 0 0 0 4.752 19.672z" clip-rule="evenodd"/><path fill="var(--logo-green)" fill-rule="evenodd" d="M79.634 40.289a27.75 27.75 0 0 1 8.154 19.688 27.74 27.74 0 0 1-8.117 19.646l18.542.02a42.84 42.84 0 0 0 4.749-19.666c0-7.09-1.714-13.779-4.751-19.675z" clip-rule="evenodd"/><path fill="var(--logo-black)" fill-rule="evenodd" d="M156.184 60.003c0-8.749-6.118-15.777-15.025-15.777-8.909 0-15.025 7.028-15.025 15.776s6.116 15.78 15.025 15.78c8.907 0 15.025-7.031 15.025-15.78m-34.881 0c0-11.483 8.318-19.96 19.856-19.96 11.536 0 19.855 8.478 19.855 19.96 0 11.484-8.319 19.964-19.855 19.964-11.538 0-19.856-8.48-19.856-19.964M179.514 75.54c5.507 0 9.05-4.14 9.05-9.482s-3.543-9.483-9.05-9.483c-5.505 0-9.046 4.142-9.046 9.483s3.541 9.482 9.046 9.482M166.22 53.306h4.248v3.704h.11c2.344-2.725 5.449-4.36 9.154-4.36 8.014 0 13.408 5.67 13.408 13.408 0 7.63-5.613 13.406-12.752 13.406-4.58 0-8.231-2.29-9.81-5.178h-.11V90.87h-4.248zM217.773 63.768c-.163-4.305-3-7.193-7.686-7.193-4.685 0-7.79 2.888-8.335 7.193zm3.653 10.412c-3.001 3.868-6.596 5.284-11.339 5.284-8.01 0-12.914-5.993-12.914-13.406 0-7.901 5.559-13.407 13.08-13.407 7.196 0 12.096 4.906 12.096 13.354v1.362h-20.597c.325 4.413 3.704 8.173 8.335 8.173 3.65 0 6.105-1.307 8.12-3.868zM227.854 59.357c0-2.347-.216-4.361-.216-6.05h4.031c0 1.362.11 2.776.11 4.194h.11c1.144-2.505 4.306-4.85 8.5-4.85 6.705 0 9.699 4.252 9.699 10.41v15.748h-4.248v-15.31c0-4.253-1.856-6.924-5.833-6.924-5.503 0-7.903 3.979-7.903 9.811V78.81h-4.25zM259.211 41.009h6.708L278.8 70.79h.107l12.982-29.782h6.549v37.99h-4.506V47.124h-.106L280.192 79h-2.738l-13.629-31.875h-.107V79h-4.507zM312.392 57.752h4.023c4.992 0 11.487 0 11.487-6.282 0-5.47-4.776-6.276-9.177-6.276h-6.333zm-4.506-16.744h9.711c7.352 0 15.132 1.072 15.132 10.462 0 5.527-3.594 9.125-9.495 10.037L334.018 79h-5.525l-10.304-17.063h-5.797V79h-4.506zM358.123 47.713c-1.506-2.414-4.187-3.487-6.926-3.487-3.973 0-8.1 1.88-8.1 6.385 0 3.49 1.931 5.047 7.994 6.98 5.903 1.878 11.377 3.809 11.377 11.267 0 7.567-6.495 11.11-13.36 11.11-4.402 0-9.125-1.45-11.7-5.262l3.862-3.165c1.61 2.794 4.83 4.24 8.105 4.24 3.862 0 8.263-2.253 8.263-6.601 0-4.669-3.165-5.474-9.928-7.728-5.366-1.771-9.442-4.134-9.442-10.463 0-7.298 6.277-10.945 12.929-10.945 4.241 0 7.836 1.178 10.625 4.45z" clip-rule="evenodd"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 380 119"><path fill="var(--logo-white)" fill-rule="evenodd" d="M40.29 40.328a27.76 27.76 0 0 1 19.688-8.154c7.669 0 14.613 3.102 19.647 8.116l.02-18.54A42.84 42.84 0 0 0 59.978 17c-7.089 0-13.813 1.93-19.709 4.968zM79.645 79.671a27.74 27.74 0 0 1-19.684 8.154c-7.67 0-14.614-3.101-19.651-8.116l-.02 18.54A42.86 42.86 0 0 0 59.96 103a42.8 42.8 0 0 0 19.672-4.751z" clip-rule="evenodd"/><path fill="var(--logo-grey)" fill-rule="evenodd" d="M40.328 79.696c-5.038-5.037-8.154-11.995-8.154-19.685 0-7.669 3.102-14.612 8.116-19.65l-18.54-.02A42.85 42.85 0 0 0 17 60.012a42.8 42.8 0 0 0 4.752 19.672zM79.634 40.289a27.75 27.75 0 0 1 8.154 19.688 27.74 27.74 0 0 1-8.117 19.646l18.542.02a42.84 42.84 0 0 0 4.749-19.666c0-7.09-1.714-13.779-4.751-19.675z" clip-rule="evenodd"/><path fill="var(--logo-white)" fill-rule="evenodd" d="M156.184 60.003c0-8.749-6.118-15.777-15.025-15.777-8.909 0-15.025 7.028-15.025 15.776s6.116 15.78 15.025 15.78c8.907 0 15.025-7.031 15.025-15.78m-34.881 0c0-11.483 8.318-19.96 19.856-19.96 11.536 0 19.855 8.478 19.855 19.96 0 11.484-8.319 19.964-19.855 19.964-11.538 0-19.856-8.48-19.856-19.964M179.514 75.54c5.507 0 9.05-4.14 9.05-9.482s-3.543-9.483-9.05-9.483c-5.505 0-9.046 4.142-9.046 9.483s3.541 9.482 9.046 9.482M166.22 53.306h4.248v3.704h.11c2.344-2.725 5.449-4.36 9.154-4.36 8.014 0 13.408 5.67 13.408 13.408 0 7.63-5.613 13.406-12.752 13.406-4.58 0-8.231-2.29-9.81-5.178h-.11V90.87h-4.248zM217.773 63.768c-.163-4.305-3-7.193-7.686-7.193-4.685 0-7.79 2.888-8.335 7.193zm3.653 10.412c-3.001 3.868-6.596 5.284-11.339 5.284-8.01 0-12.914-5.993-12.914-13.406 0-7.901 5.559-13.407 13.08-13.407 7.196 0 12.096 4.906 12.096 13.354v1.362h-20.597c.325 4.413 3.704 8.173 8.335 8.173 3.65 0 6.105-1.307 8.12-3.868zM227.854 59.357c0-2.347-.216-4.361-.216-6.05h4.031c0 1.362.11 2.776.11 4.194h.11c1.144-2.505 4.306-4.85 8.5-4.85 6.705 0 9.699 4.252 9.699 10.41v15.748h-4.248v-15.31c0-4.253-1.856-6.924-5.833-6.924-5.503 0-7.903 3.979-7.903 9.811V78.81h-4.25zM259.211 41.009h6.708L278.8 70.79h.107l12.982-29.782h6.549v37.99h-4.506V47.124h-.106L280.192 79h-2.738l-13.629-31.875h-.107V79h-4.507zM312.392 57.752h4.023c4.992 0 11.487 0 11.487-6.282 0-5.47-4.776-6.276-9.177-6.276h-6.333zm-4.506-16.744h9.711c7.352 0 15.132 1.072 15.132 10.462 0 5.527-3.594 9.125-9.495 10.037L334.018 79h-5.525l-10.304-17.063h-5.797V79h-4.506zM358.123 47.713c-1.506-2.414-4.187-3.487-6.926-3.487-3.973 0-8.1 1.88-8.1 6.385 0 3.49 1.931 5.047 7.994 6.98 5.903 1.878 11.377 3.809 11.377 11.267 0 7.567-6.495 11.11-13.36 11.11-4.402 0-9.125-1.45-11.7-5.262l3.862-3.165c1.61 2.794 4.83 4.24 8.105 4.24 3.862 0 8.263-2.253 8.263-6.601 0-4.669-3.165-5.474-9.928-7.728-5.366-1.771-9.442-4.134-9.442-10.463 0-7.298 6.277-10.945 12.929-10.945 4.241 0 7.836 1.178 10.625 4.45z" clip-rule="evenodd"/></svg>
|
package/dist/logo/index.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Registers the default Egen logo SVGs into the SVG sprite container.
|
|
3
|
-
* This makes them available for use throughout the application via SVG use references.
|
|
4
|
-
*
|
|
5
|
-
* @internal
|
|
6
|
-
*/
|
|
7
|
-
export declare function setupLogo(): void;
|
|
8
|
-
//# sourceMappingURL=index.d.ts.map
|
package/dist/logo/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/logo/index.ts"],"names":[],"mappings":"AAMA;;;;;GAKG;AACH,wBAAgB,SAAS,SAWxB"}
|
package/dist/logo/index.js
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import fullLogo from "./egen-logo-full.svg";
|
|
2
|
-
import partialLogo from "./egen-logo-partial.svg";
|
|
3
|
-
import iconLogo from "./egen-logo-icon.svg";
|
|
4
|
-
import whiteLogo from "./egen-logo-white.svg";
|
|
5
|
-
import { addSvg } from "../svg-utils.js";
|
|
6
|
-
/**
|
|
7
|
-
* Registers the default Egen logo SVGs into the SVG sprite container.
|
|
8
|
-
* This makes them available for use throughout the application via SVG use references.
|
|
9
|
-
*
|
|
10
|
-
* @internal
|
|
11
|
-
*/ export function setupLogo() {
|
|
12
|
-
addSvg('egen-logo-full-color', fullLogo);
|
|
13
|
-
addSvg('egen-logo-full-mono', fullLogo);
|
|
14
|
-
addSvg('egen-logo-full-grey', fullLogo);
|
|
15
|
-
addSvg('egen-logo-partial-color', partialLogo);
|
|
16
|
-
addSvg('egen-logo-partial-mono', partialLogo);
|
|
17
|
-
addSvg('egen-logo-partial-grey', partialLogo);
|
|
18
|
-
addSvg('egen-logo-icon-color', iconLogo);
|
|
19
|
-
addSvg('egen-logo-icon-mono', iconLogo);
|
|
20
|
-
addSvg('egen-logo-icon-grey', iconLogo);
|
|
21
|
-
addSvg('egen-logo-white', whiteLogo);
|
|
22
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/numeric-datapoint/index.ts"],"names":[],"mappings":"AAAA,cAAc,kCAAkC,CAAC;AACjD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,kCAAkC,CAAC"}
|