File tree Expand file tree Collapse file tree 6 files changed +2
-30
lines changed
components/workspace/elements Expand file tree Collapse file tree 6 files changed +2
-30
lines changed Original file line number Diff line number Diff line change @@ -152,7 +152,7 @@ const Seat: React.FC<ISeatProps> = forwardRef(
152152 width = { seatSize * 0.75 }
153153 height = { seatSize * 0.75 }
154154 size = { seatSize * 0.75 }
155- className = { consumer . styles ?. elements ?. seat ?. icon ?. className }
155+ className = { twMerge ( consumer . styles ?. elements ?. seat ?. icon ?. className , "stk-seat-icon" ) }
156156 style = { consumer . styles ?. elements ?. seat ?. icon ?. properties }
157157 />
158158 ) }
Original file line number Diff line number Diff line change @@ -13,19 +13,6 @@ export const Story = {
1313 render : ( props ) => < SeatToolkit mode = { STKMode . DESIGNER } { ...props } />
1414} ;
1515
16- export const WithoutFooter = {
17- render : ( props ) => (
18- < SeatToolkit
19- mode = { STKMode . DESIGNER }
20- { ...props }
21- options = { {
22- showFooter : false ,
23- ...props . options
24- } }
25- />
26- )
27- } ;
28-
2916export const WithReloadButton = {
3017 render : ( props ) => (
3118 < SeatToolkit
Original file line number Diff line number Diff line change @@ -9,11 +9,6 @@ export const options = {
99 ...disableArgTypes ( [ "options" ] ) ,
1010 ...prefixKeys (
1111 {
12- showFooter : {
13- control : "boolean" ,
14- description : "Show or hide the footer" ,
15- defaultValue : { summary : true }
16- } ,
1712 showGridSwitch : {
1813 control : "boolean" ,
1914 description : "Show or hide the grid switch" ,
Original file line number Diff line number Diff line change @@ -19,6 +19,6 @@ rect.workspace-selection {
1919 fill-opacity : 0.5 ;
2020}
2121
22- .stk-core svg * {
22+ .stk-core svg * : not (. stk-seat-icon * ) {
2323 transform-box : fill-box;
2424}
Original file line number Diff line number Diff line change @@ -70,7 +70,6 @@ export interface ISTKProps {
7070 options ?: {
7171 showGridSwitch ?: boolean ;
7272 showSeatLabels ?: boolean ;
73- showFooter ?: boolean ;
7473 showZoomControls ?: boolean ;
7574 showVisibilityControls ?: boolean ;
7675 showReloadButton ?: boolean ;
Original file line number Diff line number Diff line change @@ -23,19 +23,11 @@ export interface IStyles {
2323 input ?: IStyle ;
2424 trigger ?: IStyle ;
2525 } ;
26- footer ?: {
27- root ?: IStyle ;
28- title ?: IStyle ;
29- meta ?: IStyle ;
30- } ;
3126 zoomControls ?: {
3227 in ?: IStyle ;
3328 out ?: IStyle ;
34- root ?: IStyle ;
3529 } ;
3630 panControls ?: {
37- root ?: IStyle ;
38- innerRing ?: IStyle ;
3931 handles ?: {
4032 up ?: IStyle ;
4133 right ?: IStyle ;
@@ -44,7 +36,6 @@ export interface IStyles {
4436 } ;
4537 } ;
4638 visibilityControls ?: {
47- root ?: IStyle ;
4839 buttons ?: IStyle ;
4940 } ;
5041 reloadButton ?: IStyle ;
You can’t perform that action at this time.
0 commit comments